Skip to contentSkip to conversation

LOCALTIME problem.

DISCUSSION Roy 2 participants 2 messages Sep 11, 2002

lore
Share & tools
lore

Roy

author
#0 lore raw

Dear all,
Did anyone try this function well ?
I put ulogd_LOCALTIME.c into ulogd-x/extensions directory,and replace Rule.make.in in ulogd-xxx/ It has complied ulogd_LOCALTIME.so and installed.
add the line
plugin /usr/local/lib/ulogd/ulogd_LOCALTIME.so
in ulogd.conf
Mysql info.
local_time field value is 1031676302
It's seems not work,Is my procedure correct ? Thanks for your comments.

Regards / Roy

#1 lore raw
Quoted 4 lines · Roy

Dear all,
Did anyone try this function well ?
I put ulogd_LOCALTIME.c into ulogd-x/extensions
directory,and replace Rule.make.in in ulogd-xxx/ It has complied

Quoted 8 lines

ulogd_LOCALTIME.so and installed.
add the line
plugin /usr/local/lib/ulogd/ulogd_LOCALTIME.so
in ulogd.conf
Mysql info.
local_time field value is 1031676302
It's seems not work,Is my procedure correct ? Thanks for
your comments.

Looks like a perfectly reasonable time value to me.

I've just done 'date +%s' on my machine and got 1031751577, so I guess you did yours yesterday about midnight, judging by the timezone in your email.

The value you are getting is seconds since midnight Jan 1st 1970.

Antony.

Signature · 3 lines
Having been asked to provide a reference for this man,
I can confidently state that you will be very lucky indeed
if you can get him to work for you.