This looks like the best workaround...yes the klogd messages too get logged.
But thats better than poking around /var/log/messages.
Thanks a lot
Jay
On Tue, Apr 16, 2002 at 03:29:13PM +0530, Binand Raj S. wrote:
>
> Since ipchains -l is generated at kern.info, I guess a syslog.conf like:
>
On Tuesday 16 April 2002 15:11 pm, Devdas Bhagat wrote:
> > Is there any way to specify a different log file, say /var/log/ipchains
> > for ipchains logging.
>
> Not with the default syslog.
> Try syslog-ng, which can do filtering on regular expressions.
Since ipchains -l is generated at kern.inf
On 15/04/02 21:55 +0530, Jay Nambiar wrote:
> I have enabled logging for certain ipchains rules. All the log messages
> currently appear in /var/log/messages
>
> Is there any way to specify a different log file, say /var/log/ipchains for
> ipchains logging.
Not with the default syslog.
Try syslog
Hi,
I have enabled logging for certain ipchains rules. All the log messages
currently appear in /var/log/messages
Is there any way to specify a different log file, say /var/log/ipchains for
ipchains logging.
I have tried the man pages for syslog.conf and ipchains..without any luck.
Jay
_