Re: sysklogd => syslog-ng
On Fri, Aug 24, 2001 at 04:12:08PM +0200, Marc Haber wrote:
> On Fri, 24 Aug 2001 14:47:19 +0200, Krzysztof Krzyzaniak
> <eloy@transilvania.eu.org> wrote:
> >On Fri, Aug 24, 2001 at 02:41:33PM +0200, jc wrote:
> >> what about moving to syslog-ng ?
> >
> >syslog-ng working fine (I use it), but I cannot get it work with klogd to
> >log kernels infos.
>
> syslog-ng doesn't need klogd to log kernel infos. It does this by
> itself.
Hmm, you're right, but I have in syslog-ng.conf
destination kern { file("/var/log/kern.log" owner("root") group("adm") group("adm") perm(0640)); };
filter f_kern { facility(kern); };
log { source(src); filter(f_kern); destination(kern); };
and
fargo@eloy:/etc/syslog-ng{12}% more klogctl
KLOGCTL=6
And kern.log is always empty (I have ipchains logging turn on).
eloy
--
(Krzysztof 'eloy' Krzyżaniak)-(PH & PWA Member)-(eloy@transilvania.eu.org)
Ty i ja to trójkąty o czterech bokach
Ty i ja to ognie świecy
Gasnące na mrugnięcie oka
Reply to: