[poky] Useless syslogd

Gary Thomas gary at mlbassoc.com
Fri Feb 11 14:26:09 PST 2011


On 02/11/2011 02:50 PM, Tom Zanussi wrote:
> On Fri, 2011-02-11 at 12:47 -0800, Gary Thomas wrote:
>> ... at least out of the box.
>>
>> It seems that syslog is configured to store its messages in
>> a buffer (memory only?) by default:
>>
>> $ cat meta/recipes-core/busybox/files/syslog.conf
>> DESTINATION="buffer"            # log destinations (buffer file remote)
>>     ...
>>
>> This doesn't seem very useful to me.  I know I can override this
>> in my platform recipes, but I was just wondering what's the
>> rationale?  Would it not make more sense to chose DESTINATION="file"?
>> Otherwise, where do the messages go?  How can I see them?
>>
>
> I think 'logread' is hooked up to read from the buffer, but it seems to
> be broken at the moment...

Thanks for pointing this out.  It does seem to work (minimal
test), but I still prefer a file, especially since the buffer
mode seems to use a circular buffer that could get overwritten.

At least I have an easy way to define my own config file.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list