lkml.org 
[lkml]   [2011]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2011-12-13 12:49    [W:0.022 / U:1.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site