Messages in this thread | | | Date | Tue, 13 Dec 2011 12:38:46 +0100 | From | Lennart Poettering <> | Subject | Re: Upstart 1.4 "Let them speak" released |
| |
On Tue, 13.12.11 11:36, James Hunt (james.hunt@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.
| |