syslog timestamp format

Benjamin.Feinstein@guardent.com Benjamin.Feinstein@guardent.com
Thu, 31 Jan 2002 12:00:44 -0500


Hey ya'll,

Assuming iptables uses klogd to log its messages to /var/log/messages, is
there a way to specifiy the format of the timestamp that klogd prepends to a
log message? The logging daemon is prepending a timestamp of "MMM dd
hh:mm:ss", but I need to have the "yyyy" in the timestamp as well.

Additionally, does anyone know how to get iptables to log to a logging
facility other than "kernel"? I am aware of the ULOG target, but I have read
that ULOG should not be used as a matching target for any significant amount
of logging. Anybody have experience using the ULOG target, good or bad?

I'm using klogd 1.4.1 and iptables 1.2.5 on a RH 7.2 box w/ kernel 2.4.17.

Thanks for any help,
Ben

> Ben Feinstein
>   Software Development Engineer, R & D
>   W: 678.585.7865 x6726 F: 770.645.8311 M: 678.772.4126
>   8302 Dunwoody Pl., Suite 320, Atlanta, GA 30350 www.guardent.com
> _____________________________________________________
> G U A R D E N T
>   Enterprise Security and Privacy Programs
>