[Bug 1273177] Re: useless message prefix for 2 upstart logs
James Hunt
1273177 at bugs.launchpad.net
Tue Jan 28 08:14:58 UTC 2014
Hi Jérôme - thank you for reporting this issue. However, this is not a
bug in Upstart - Upstart simply records all output from the programs it
starts, so that output is entirely up to the programs being run, not
Upstart. The 2 examples you give do indeed prefix every line with their
program name, which happens to match the name of the Upstart job, but
there are many other jobs that do not do this.
Upstart provides a logrotate script to ensure /var/log/upstart/*.log
files get rotated and compressed. If you wish to silence the output from
these 2 jobs, you can do so like this:
echo "console none"| sudo tee /etc/init/container-detect.override
echo "console none"| sudo tee /etc/init/ureadahead.override
** Changed in: upstart (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1273177
Title:
useless message prefix for 2 upstart logs
Status in “upstart” package in Ubuntu:
Invalid
Bug description:
The below logs extracts show that there is a useless message prefix
since the log file name already use this component name.
/var/log/upstart/ureadahead.log :
---
ureadahead:tracing_enabled: Ignored relative path
ureadahead:proc/cmdline: Ignored relative path
ureadahead:proc/cmdline: Ignored relative path
ureadahead:resolvconf: Ignored relative path
ureadahead:.: Ignored relative path
ureadahead:.: Ignored relative path
---
/var/log/upstart/container-detect.log :
---
container-detect stop/pre-start, process 234
---
This prefix inflates the amount of data written on the disk.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.5-0ubuntu7.2 [modified: sbin/initctl]
ProcVersionSignature: Ubuntu 3.2.0-58.88-generic 3.2.53
Uname: Linux 3.2.0-58-generic i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Mon Jan 27 11:40:18 2014
InstallationMedia: Xubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213)
MarkForUpload: True
ProcEnviron:
LANGUAGE=fr:en
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.init.tty3.conf: [deleted]
modified.conffile..etc.init.tty4.conf: [deleted]
modified.conffile..etc.init.tty5.conf: [deleted]
modified.conffile..etc.init.tty6.conf: [deleted]
mtime.conffile..etc.logrotate.d.upstart: 2013-05-12T22:02:24.587121
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1273177/+subscriptions
More information about the foundations-bugs
mailing list