[rt-users] logging

Luke Vanderfluit lvanderf at internode.com.au
Mon Mar 27 23:46:35 EST 2006


Hi.

I have the following lines in my RT_SiteConfig.pm

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  Mail loops will generate a critical log message.
Set($LogToSyslog    , 'alert');
Set($LogToScreen    , undef);  
Set($LogToFile      , 'alert');
Set($LogDir, '/usr/local/rt3/var/log');
Set($LogToFileNamed , "rt3.log");    #log to rt.log

@LogToSyslogConf = ( socket => 'inet' );
\_____________________________

In other words I want to log to the rt3.log file with 'alert' message level.

I don't get any output in that file, though, no matter what operations I 
carry out in RT.
Is there something that I need to change in Log::Dispatch?

Any hints on getting logging to rt3.log working?

Thanks.
Kind regards.

-- 
Luke




More information about the rt-users mailing list