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.

Sergey Naumov.

Attachment: busybox-1.19.0-syslog.conf.patch
Description: Binary data

Attachment: busybox-1.19.0-get-line-from-file-lineno.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to