This is incorrect - Upstart does reopen log files when a job produces
output *after* the log file has been deleted.

So in normal operation,  logrotate will run and say rotate foo.log to
foo.log.1.gz. At this point, the file associated with the fd for foo.log
will indeed show as deleted. But, if and only if that job produces any
further output Upstart will recreate foo.log. If the job produces no
further output the log will not be recreated. Once the job has stopped,
the fd associated with the deleted file will be closed.

If this is not what you are seeing please provide further details.

** Changed in: upstart (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1350782

Title:
  Upstart does not reopen /var/log/upstart/* logfiles upon log rotation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1350782/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to