syslogd config patch

Denys Vlasenko vda.linux at googlemail.com
Sat Apr 16 18:16:45 UTC 2011


On Monday 11 April 2011 20:20, Sergey Naumov wrote:
> Denys,
> 
> I have tested syslog.conf patch with syslog.conf logging + default
> local logging + remote logging + circular buffer logging + log file
> rotation and had no issues so far. However errors detection in
> syslog.conf is not so good - sometimes problem in delimiter, but error
> reports about facility token, sometimes token is empty and so on. So I
> deviced to show only line number where error occured - it is better to
> provide less information rather than provide wrong/ambiguous one. Also
> there is an issue with parser->lineno when the config file is not
> ended with '\n' but EOF (it shows previous line number instead of last
> line where error occured). Fixing patch is attached.
> 
> Also there is lack of help for syslog.conf (I think that people want
> to know what the "restricted" syslog.conf is), so I wrote draft
> docs/syslog.conf.txt file. Please review it and make suggestions.

Applied, thanks.
-- 
vda


More information about the busybox mailing list