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, 'warning'); # former LogToScreen
--------------------------------
And in the Syslog-ng.conf I did:
--------------------------------
# Send the messages to an other host
#
destination remote { udp("10.1.1.10" port(514)); };
--------------------------------
Until now, my main Syslog server is logging nothing. How to debug that?
Regards,
--
### 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
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902
Em 16/08/2011 18:41, Ruslan Zakirov escreveu:
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.
http://requesttracker.wikia.com/wiki/LogsConfig#Logging_into_syslog
...and restarted the daemon successfully.
But what exactly "remote_server" means?
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Chicago, IL, USA September 26 & 27, 2011
* San Francisco, CA, USA October 18 & 19, 2011
* Washington DC, USA October 31 & November 1, 2011
* Melbourne VIC, Australia November 28 & 29, 2011
* Barcelona, Spain November 28 & 29, 2011