~alpine/users

[alpine-user] Problems with date and timezone in alpine

Details
Message ID
<f7f66245-8309-3538-9f2b-15996822af71@gmail.com>
Sender timestamp
1538394648
DKIM signature
missing
Download raw message
Hi,

I've found a problem on my alpine 3.7 install.

After trying to send logs from alpine box to graylog I sadly realized 
that the timestamp of my logs is not the correct system time

I am starting busybox syslogd with

-Z -D -L -R 192.168.1.61:9514

-R is the remote graylog server ip + port

/etc/localtime is pointed to my timezone /etc/zoneinfo/Europe/Athens

and /etc/TZ contains 'Europe/Athens',

hwclock returns the correct localtime

while date returns the correct current local time,  logs in 
/var/log/messages  show a -1 hour timestamp

I've tried to remove the -Z option end ended up with UTC timestamps in 
my logs that is -3 Hours.

Is there a way to correct all this mess ??

Thank's your replies

Regards,

Harry





---
Unsubscribe:  alpine-user+unsubscribe@lists.alpinelinux.org
Help:         alpine-user+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)