syslogd config patch

Denys Vlasenko vda.linux at googlemail.com
Thu Nov 25 07:06:15 UTC 2010


On Wednesday 24 November 2010 20:52, Tito wrote:
> On Wednesday 24 November 2010 16:57:01 Sergey Naumov wrote:
> > Hello.
> > 
> > I have made alpha version support for syslog.conf in busybox. Now it
> > supports only local logging.
> > Config file format is:
> > facility.[=|!=]priority    /some/file

> > Patch file for busybox-1.18.0 is attached.
> > Any comments and recommendations are welcomed.
> > This code should be additionally tested, but I prefer to hear your
> > suggestions first.
> > 
> > Sergey Naumov.
> 
> 
> Hi,
> i recall that there are some config file parse functions
> in libbb/parse_config.c, maybe they could be used here?

Yes, it should be used.

-- 
vda


More information about the busybox mailing list