--no-log option
James Hunt
james.hunt at ubuntu.com
Fri May 16 08:12:41 UTC 2014
Hi Ben,
If you read init(8), you'll see that if you run init as a root user
(without specifying '--user'), init will re-exec itself and run *telinit*.
If you then read telinit(8) or run 'telinit --help' you'll see that it has
no '--no-log' option.
Further, you cannot run a second instance of init anyway. To do what you
want, you need to add '--no-log' to the kernel command-line set by your
bootloader and used by PID 1. An example of how you can do this temporarily
is shown in the Cookbook:
http://upstart.ubuntu.com/cookbook/#add-verbose-or-debug-to-the-kernel-command-line
If you want to make such a change permanent and you are running Debian or
Ubuntu, modify GRUB_CMDLINE_LINUX in /etc/default/grub and then run 'sudo
update-grub'.
2014-05-15 16:34 GMT+01:00 Ben Diamant <bend at checkpoint.com>:
> Hey,
>
> I want upstart processes to stop logging to /var/log/upstart/
>
> But the no log option does not work, I’m on Ubuntu 12.04.
>
>
>
>
>
> What’s wrong?
>
> --
> upstart-devel mailing list
> upstart-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/upstart-devel
>
>
Kind regards,
James.
--
James Hunt
____________________________________
#upstart on freenode
http://upstart.ubuntu.com/cookbook
https://lists.ubuntu.com/mailman/listinfo/upstart-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20140516/21b39c56/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2617 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20140516/21b39c56/attachment.png>
More information about the upstart-devel
mailing list