Dear ALL, After I chrooted for syslog-ng, the timestamp displayed in the tables are wrong. How could I fix the localtime()? Thanks. Regards, Wilson Lai System Engineer IT Dept., SJM Office ( : (853)2978585 Mobile ( : (853)66506709 Email +: : wilsonlai@macausjm.com
Wilson Lai wrote:
Dear ALL,
After I chrooted for syslog-ng, the timestamp displayed in the tables are wrong.
How could I fix the localtime()?
Thanks.
*Regards,*
*Wilson Lai*
System Engineer
IT Dept., SJM
Office ( : (853)2978585
Mobile ( : (853)66506709
Email +: : _wilsonlai@macausjm.com_
------------------------------------------------------------------------
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
Maybe add: use_time_recvd (no); to your "Options" directive in the syslog-ng.conf? Mike
On Tue, 2007-10-16 at 12:38 +0800, Wilson Lai wrote:
Dear ALL,
After I chrooted for syslog-ng, the timestamp displayed in the tables are wrong.
How could I fix the localtime()?
you need to set up zone information in your chroot as well. this usually means to set up /etc/localtime symlink. -- Bazsi
participants (3)
-
Balazs Scheidler
-
Mike Lott
-
Wilson Lai