Hi Remy,
thanks very much for your indication. It works.
Best regards,
MC
2006/2/3, Remy Blank <[EMAIL PROTECTED]>:
> Marco Calviani wrote:
> > i would like dhcpcd to leave logs in /var/log/dhcpcd.log
> >
> > How is it possible to implement this, noting that i'm using syslog-ng?
>
> You could try the following in my /etc/syslog-ng/syslog-ng.conf
> (assuming your log source is called "src"):
>
> destination dhcpd { file("/var/log/dhcpcd.log"); };
> filter f_dhcpcd { program("dhcpcd"); };
> log { source(src); filter(f_dhcpcd); destination(dhcpcd); };
>
> HTH.
> -- Remy
>
>
> Remove underscore and suffix in reply address for a timely response.
>
> --
> [email protected] mailing list
>
>
--
[email protected] mailing list