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 <[email protected]>:

>  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
> [email protected]
> 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
-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to