[PATCH] Add 'log' argument to 'console' stanza allowing job output to be captured.

Clint Byrum clint at ubuntu.com
Fri Oct 28 12:22:32 UTC 2011


Excerpts from James Hunt's message of Thu Oct 27 12:36:49 -0400 2011:
> Hi All,
> 
> This patch adds a 'log' argument to the 'console' stanza which allows all job output to be captured
> and persisted to disk.
> 
> Note that this patch makes "console log" the new default (the old default being "console none"). The
> rationale for this change being that if your jobs do produce output, you generally want to see it
> (more than likely it will contain details of errors). If you do not want this behaviour, you will
> need to modify your job configuration files to specify explicitly "console none". This is a change
> in behaviour. This feature is available to user jobs as well [*].
> 
> Code:
> 
>   lp:~jamesodhunt/upstart/job-logging

Seriously cool, I'm quite happy to hear this is landing. :)



More information about the upstart-devel mailing list