[syslog-ng] Syslog-ng timestamp problem

Tamas Szklenar tszklenar at cfa.harvard.edu
Thu Jun 2 16:37:02 CEST 2011


Hi,

I configured a syslog-ng server and several clients for testing and it 
is working great, my only problem is with the timestamp() option.
We have a lot of computer in different time zones and I would like to 
set up the system to keep the messages time stamps.
Here is the config for the syslog-ng server:

options {
         flush_lines(5);
         flush_timeout(1000);
         time_reopen(10);
         log_fifo_size(1000);
         long_hostnames(off);
         use_dns(yes);
         dns_cache_hosts(/etc/hosts);
         use_fqdn(no);
         create_dirs(yes);
         dir_perm(0700);
         keep_hostname(yes);
         keep_timestamp(yes);
         stats_freq(0);
         };

Is there something else what I have to whit this?

Thanks for your help!

Tamas



More information about the syslog-ng mailing list