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. -- gentoo-user@gentoo.org mailing list