<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ruslan,<br>
<br>
I found the configuration...<br>
<br>
destination remote_server { udp("10.0.0.2" port(514)); };<br>
<br>
...and restarted the daemon successfully.<br>
<br>
But what exactly "remote_server" means?<br>
<br>
<pre class="moz-signature" cols="72">--
### 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
<a class="moz-txt-link-freetext" href="http://www.pop-sp.rnp.br">http://www.pop-sp.rnp.br</a>
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902</pre>
<br>
Em 15/08/2011 18:30, Ruslan Zakirov escreveu:
<blockquote
cite="mid:CAMOxC8s24cHN1rwxLOpmRWzgXrVko3JSPTLo1OaQZ3ATqp_Epg@mail.gmail.com"
type="cite">
<p><br>
15.08.2011 22:51 пользователь "Wagner Pereira" <<a
moz-do-not-send="true" href="mailto:wpereira@pop-sp.rnp.br">wpereira@pop-sp.rnp.br</a>>
написал:<br>
><br>
> Hi, Ruslan. I appreciate your answer.<br>
><br>
> Two points:<br>
><br>
> 1. My syslog is running in other server. How to make my RT
send logs to it?</p>
<p>SyslogConf option may help. Read description.</p>
<p>> 2. Once I've changed from file to syslog, will the
timezone issue be solved?</p>
<p>Syslog tracks timestampts on its own.</p>
<p>><br>
> Regards,<br>
><br>
> -- <br>
> ### At PoP-SP/RNP, every day is an IPv6 day ###<br>
><br>
> Wagner Pereira<br>
> PoP-SP/RNP - Ponto de Presença da RNP em São Paulo<br>
> CCE/USP - Centro de Computação Eletrônica da Universidade
de São Paulo<br>
> <a moz-do-not-send="true" href="http://www.pop-sp.rnp.br">http://www.pop-sp.rnp.br</a><br>
> Fixo. +55 11 3091-8901<br>
> Móvel. +55 11 9923-9554<br>
> fone@RNP: 10158902<br>
><br>
><br>
> Em 15/08/2011 12:44, Ruslan Zakirov escreveu:<br>
><br>
>> It's by design. Don't use LogToFile in production. Use
syslog and<br>
>> logging to screen (STDERR).<br>
>><br>
>> On Mon, Aug 15, 2011 at 7:11 PM, Wagner Pereira<<a
moz-do-not-send="true" href="mailto:wpereira@pop-sp.rnp.br">wpereira@pop-sp.rnp.br</a>>
wrote:<br>
>>><br>
>>> Hello, friends.<br>
>>><br>
>>> I noticed that my rt.log has been populated in the
wrong timezone (GMT). My<br>
>>> timezone is BRT -03:00.<br>
>>><br>
>>> I found a discussion in which someone said to edit
the RT.pm file and change<br>
>>> the gmtime.<br>
>>><br>
>>> Then I found what follows. Can I change that? If
yes, how can I?<br>
>>><br>
>>> --------------------------------<br>
>>> sub InitLogging {<br>
>>> ...<br>
>>> my ($package, $filename, $line) =
caller($frame);<br>
>>> $p{message} =~ s/(?:\r*\n)+$//;<br>
>>> my $str = "[".gmtime(time)."]
[".$p{level}."]: $p{message}<br>
>>> ($filename:$line)\n";<br>
>>> ...<br>
>>> --------------------------------<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> --<br>
>>> ### At PoP-SP/RNP, every day is an IPv6 day ###<br>
>>><br>
>>> Wagner Pereira<br>
>>> PoP-SP/RNP - Ponto de Presença da RNP em São Paulo<br>
>>> CCE/USP - Centro de Computação Eletrônica da
Universidade de São Paulo<br>
>>> <a moz-do-not-send="true"
href="http://www.pop-sp.rnp.br">http://www.pop-sp.rnp.br</a><br>
>>> Fixo. +55 11 3091-8901<br>
>>> Móvel. +55 11 9923-9554<br>
>>> fone@RNP: 10158902<br>
>>><br>
>>> --------<br>
>>> RT Training Sessions (<a moz-do-not-send="true"
href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a>)<br>
>>> * Chicago, IL, USA September 26& 27, 2011<br>
>>> * San Francisco, CA, USA October 18& 19,
2011<br>
>>> * Washington DC, USA October 31& November 1,
2011<br>
>>> * Melbourne VIC, Australia November 28& 29,
2011<br>
>>> * Barcelona, Spain November 28& 29, 2011<br>
>>><br>
>><br>
>><br>
> --------<br>
> RT Training Sessions (<a moz-do-not-send="true"
href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a>)<br>
> * Chicago, IL, USA September 26 & 27, 2011<br>
> * San Francisco, CA, USA October 18 & 19, 2011<br>
> * Washington DC, USA October 31 & November 1, 2011<br>
> * Melbourne VIC, Australia November 28 & 29, 2011<br>
> * Barcelona, Spain November 28 & 29, 2011</p>
</blockquote>
</body>
</html>