I was suggesting "." precisely because it fits the existing namespace pattern ;-)<div>Fortunately init is reserved in the kernel <g><br><br><div class="gmail_quote">On Thu, Feb 10, 2011 at 1:36 AM, James Hunt <span dir="ltr"><<a href="mailto:james.hunt@canonical.com">james.hunt@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 08/02/11 18:08, Scott James Remnant wrote:<br>
> Runtime option could certainly work, we could use the kernel<br>
> command-line to pass it:<br>
><br>
>   quiet splash init.log=syslog<br>
><br>
> or something?<br>
</div>+1, although maybe we should choose an alternative separator to avoid<br>
any possible collision with the module namespace (one day someone is<br>
bound to create an 'init.ko' :-)<br>
<br>
Maybe ':' giving, "init:log=syslog" instead?<br>
<br>
Cheers,<br>
<br>
James.<br>
<div><div></div><div class="h5"><br>
><br>
> Scott<br>
><br>
> On Tue, Feb 8, 2011 at 10:05 AM, Eric House <<a href="mailto:eehouse@eehouse.org">eehouse@eehouse.org</a>> wrote:<br>
>> On Mon, Feb 07, 2011 at 02:13:18PM -0800, Scott James Remnant wrote:<br>
>>> Attached is a patch that changes the Upstart log target from syslog to<br>
>>> the kernel message pipe, prefixing with an appropriate tag so that the<br>
>>> kernel log message settings take effect.  This has a few benefits over<br>
>>> system logging:<br>
>>><br>
>>>  - kmsg is buffered, so "dmesg" will include init's messages<br>
>>>  - most setups take the buffer contents, write it to a "kern.log", and<br>
>>> then continue to append additional messages as they appear - so you<br>
>>> get the best of both worlds<br>
>>>  - high priority messages end up on console<br>
>>>  - if you boot without "quiet", low-priority messages should also end<br>
>>> up on the console<br>
>>><br>
>>> So there's a lot of win here.  I know that Laszlo has asked for this.<br>
>>><br>
>>> The downside is obviously that init's messages are now mixed in with<br>
>>> the kernel rather than the daemon messages.<br>
>>><br>
>>> I'd like to propose this change for future major Upstart releases, so<br>
>>> would like feedback (if any) to the mailing list.<br>
>><br>
>> Why not make it compile-time, or even runtime, option?<br>
>><br>
>> Most of the time I want the messages in syslog so they're inline with<br>
>> other events happening (often causing or resulting from upstart events<br>
>> as daemons are fired or killed), but occasionally I want them in the<br>
>> kernel buffers -- e.g. when debugging a problem that kills the device<br>
>> before syslogd is started.<br>
>><br>
>> --Eric<br>
>> --<br>
>> ******************************************************************************<br>
>> * From the desktop of: Eric House, <a href="mailto:eehouse@eehouse.org">eehouse@eehouse.org</a>                       *<br>
>> *       Crosswords for Android now in beta: via the Market or <a href="http://xwords.sf.net" target="_blank">xwords.sf.net</a>  *<br>
>> ******************************************************************************<br>
>><br>
><br>
<br>
</div></div>- --<br>
James Hunt<br>
____________________________________<br>
Ubuntu Foundations Team, Canonical.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk1TsXwACgkQYBWEaHcQG9eyVACfXXUhNXVkEJJMNL2t1ORcIPo9<br>
3+cAnAz49kjxHFcgI0TmHkMAcwSlWeYp<br>
=vvgM<br>
-----END PGP SIGNATURE-----<br>
<font color="#888888"><br>
--<br>
upstart-devel mailing list<br>
<a href="mailto:upstart-devel@lists.ubuntu.com">upstart-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br>
</font></blockquote></div><br></div>