Skip to contentSkip to conversation

No timestamp on log entries.

DISCUSSION Steve 2 participants 2 messages Apr 12, 2007

lore
Share & tools
lore

Steve

author
#0 lore raw

I am running DSL with kernel 2.4.26 and iptables 1.2.6a.

When I use -j Log, I see the log of blocked packets, but without a timestamp. I can't seem to find out why and don't know if there is an iptables or syslog/klog option to use to add the timestamp.

Thanks in advance for your help,

Steve.

#1 lore raw
Quoted 8 lines · Steve

I am running DSL with kernel 2.4.26 and iptables 1.2.6a.

When I use -j Log, I see the log of blocked packets, but without a timestamp. I can't seem to find out why and don't know if there is an iptables or syslog/klog option to use to add the timestamp.

Thanks in advance for your help,

Set /sys/modules/printk/parameters/printk_time to 1 instead or boot with the "time" parameter.

Jan