[PATCH] Add 'log' argument to 'console' stanza allowing job output to be captured.
Jacek Konieczny
jajcus at jajcus.net
Fri Oct 28 07:53:21 UTC 2011
On Thu, Oct 27, 2011 at 05:36:49PM +0100, James Hunt wrote:
> This patch adds a 'log' argument to the 'console' stanza which allows all job output to be captured
> and persisted to disk.
Are there any limits on the log sizes? Any log rotation procedure? A way
to forward the stream to syslog?
> 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 [*].
In case a job produces some insane amount of output (which could be
unnoticed with older Upstart) won't this fill up the disk, possibly
causing deny of service?
Greets,
Jacek
More information about the upstart-devel
mailing list