Upstart 1.4 "Let them speak" released

Lennart Poettering mzhcfgneg at 0pointer.de
Tue Dec 13 11:38:46 UTC 2011


On Tue, 13.12.11 11:36, James Hunt (james.hunt at canonical.com) wrote:

Heya,

> * New "log" argument to console stanza allowing a system jobs
>   stdout/stderr to be captured to a file. New options added to
>   support this feature: '--default-console', '--logdir',
>   '--no-log'. This feature only currently applies to system jobs:
>   user jobs which specify "console log" will be treated as if they
>   had specified "console none".

Just out of curiosity: how is rotation handled for this? If you pass the
file fd directly to the spawned service you can't really rotate the file
ever, since you cannot ask the service to reopen the file. So what do
you do?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.



More information about the upstart-devel mailing list