Arnau Bria wrote: > Hi, > > I've installed syslog-ng and I was configuring it. > I'd like to separate ssh and named logs from messages, so I thought > each of that services had a "facilty", so I defined them and restarted > syslog-ng, but it fails saying that it does not know those facilities... > > #filter f_named { facility(named); }; > #filter f_sshd { facility(sshd); }; > > I have testes with named, sshd, bind, ssh... > > So, how may I separate this services logs? > I used metalog and there you can use reg expressions, may I use it here > too? > > Where may I find a list of facilities? > > > Cheers! > >
Yes, you can separate the logs. Take a look at this example. I think it would be helpful. http://ben.muppethouse.com/SYSLOG-DOC.html -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list