Re: [rt-users] RT logs in wrong timezone

2011-08-18 Thread Wagner Pereira
Ruslan, Ok, I will figure out how to connect the local Syslog with the remote Syslog. Thanks again. -- ### At PoP-SP/RNP, every day is an IPv6 day ### Wagner Pereira PoP-SP/RNP - Ponto de Presença da RNP em São Paulo CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo

Re: [rt-users] RT logs in wrong timezone

2011-08-17 Thread Wagner Pereira
Ok, Ruslan. Now I edited my RT_SiteConfig.pm to that: # LOGGING: Set($LogToSyslog, 'debug'); Set(@LogToSyslogConf, ident = 'RTTEST', facility = 'local0', socket = [{type = 'udp', host = 'localhost', port = 514 }], ); Set($LogToSTDERR,

Re: [rt-users] RT logs in wrong timezone

2011-08-17 Thread Ruslan Zakirov
On Wed, Aug 17, 2011 at 10:43 PM, Wagner Pereira wpere...@pop-sp.rnp.br wrote: Ok, Ruslan. Now I edited my RT_SiteConfig.pm to that: # LOGGING: Set($LogToSyslog, 'debug'); Set(@LogToSyslogConf,        ident = 'RTTEST',        facility = 'local0',        

Re: [rt-users] RT logs in wrong timezone

2011-08-16 Thread Wagner Pereira
Ruslan, I found the configuration... destination remote_server { udp(10.0.0.2 port(514)); }; ...and restarted the daemon successfully. But what exactly remote_server means? -- ### At PoP-SP/RNP, every day is an IPv6 day ### Wagner Pereira PoP-SP/RNP - Ponto de Presença da RNP em São Paulo

Re: [rt-users] RT logs in wrong timezone

2011-08-16 Thread Ruslan Zakirov
On Tue, Aug 16, 2011 at 11:10 PM, Wagner Pereira wpere...@pop-sp.rnp.br wrote: Ruslan, I found the configuration... destination remote_server { udp(10.0.0.2 port(514)); }; No idea where you found that. I was referring to RT_Config.pm.

[rt-users] RT logs in wrong timezone

2011-08-15 Thread Wagner Pereira
Hello, friends. I noticed that my rt.log has been populated in the wrong timezone (GMT). My timezone is BRT -03:00. I found a discussion in which someone said to edit the RT.pm file and change the gmtime. Then I found what follows. Can I change that? If yes, how can I?

Re: [rt-users] RT logs in wrong timezone

2011-08-15 Thread Kevin Falcone
On Mon, Aug 15, 2011 at 12:11:57PM -0300, Wagner Pereira wrote: Hello, friends. I noticed that my rt.log has been populated in the wrong timezone (GMT). My timezone is BRT -03:00. I found a discussion in which someone said to edit the RT.pm file and change the gmtime. Then I found what

Re: [rt-users] RT logs in wrong timezone

2011-08-15 Thread Ruslan Zakirov
It's by design. Don't use LogToFile in production. Use syslog and logging to screen (STDERR). On Mon, Aug 15, 2011 at 7:11 PM, Wagner Pereira wpere...@pop-sp.rnp.br wrote: Hello, friends. I noticed that my rt.log has been populated in the wrong timezone (GMT). My timezone is BRT -03:00. I

Re: [rt-users] RT logs in wrong timezone

2011-08-15 Thread Wagner Pereira
Hi, Ruslan. I appreciate your answer. Two points: 1. My syslog is running in other server. How to make my RT send logs to it? 2. Once I've changed from file to syslog, will the timezone issue be solved? Regards, -- ### At PoP-SP/RNP, every day is an IPv6 day ### Wagner Pereira PoP-SP/RNP -

Re: [rt-users] RT logs in wrong timezone

2011-08-15 Thread Ruslan Zakirov
15.08.2011 22:51 пользователь Wagner Pereira wpere...@pop-sp.rnp.br написал: Hi, Ruslan. I appreciate your answer. Two points: 1. My syslog is running in other server. How to make my RT send logs to it? SyslogConf option may help. Read description. 2. Once I've changed from file to