1 |
Hi Remy, |
2 |
thanks very much for your indication. It works. |
3 |
|
4 |
Best regards, |
5 |
MC |
6 |
|
7 |
2006/2/3, Remy Blank <remy.blank_asps@×××××.com>: |
8 |
> Marco Calviani wrote: |
9 |
> > i would like dhcpcd to leave logs in /var/log/dhcpcd.log |
10 |
> > |
11 |
> > How is it possible to implement this, noting that i'm using syslog-ng? |
12 |
> |
13 |
> You could try the following in my /etc/syslog-ng/syslog-ng.conf |
14 |
> (assuming your log source is called "src"): |
15 |
> |
16 |
> destination dhcpd { file("/var/log/dhcpcd.log"); }; |
17 |
> filter f_dhcpcd { program("dhcpcd"); }; |
18 |
> log { source(src); filter(f_dhcpcd); destination(dhcpcd); }; |
19 |
> |
20 |
> HTH. |
21 |
> -- Remy |
22 |
> |
23 |
> |
24 |
> Remove underscore and suffix in reply address for a timely response. |
25 |
> |
26 |
> -- |
27 |
> gentoo-user@g.o mailing list |
28 |
> |
29 |
> |
30 |
|
31 |
-- |
32 |
gentoo-user@g.o mailing list |