Re: Upstart 1.4 "Let them speak" released

From: Lennart Poettering
Date: Tue Dec 13 2011 - 06:46:49 EST


On Tue, 13.12.11 11:36, James Hunt (james.hunt@xxxxxxxxxxxxx) 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/