[syslog-ng]Re: Timezone problem with syslog-ng

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Wed, 04 Feb 2004 15:13:44 +0100


Nate Campi writes: 

>> > The matter is I have noticed that syslog-ng is using UTC instead of local
>> >time, as I'd like it to do. I am using the "use_time_recv" option and 
>> >server
>> >is configured for MET timezone (BTW it is Solaris 9).
[..]
>> I have the same problem on linux RH9.
>> I dont understand how to solve it ? Any Idea? 
> 
> You might be starting syslog-ng from an environment where all the
> environmental variables are scrubbed, I've had similar things happen. 
> 
> How are you starting syslog-ng?

Thamks for the suggested tip ;-) 

This is my solution : 

/etc/init.d/syslog-ng 

[..]
start)
       export TZ=CET
[..] 

Regards
Roberto