[rt-users] Turn on Logging in RT

Chaim Rieger chaim.rieger at gmail.com
Tue Sep 9 15:47:32 EDT 2008


Chris Nelson wrote:
> I apologize for the newbie question (I have another thread going that 
> has stalled out with this question - but it's really part of a larger 
> question, so I figured I would pose this question directly - I apologize 
> if everyone has already read this or if that is a list faux paux).
> 
> I need some help turning on "logging". I saw the entries in 
> RT_Config.pm, but cannot figure out how to make them work in 
> RT_SiteConfig.pm. I found several topics through Google about using 
> logging, but none with newbie instructions for turning it "on". Thanks 
> in advance for your time.
> 
> #Logging
> Set($LogToFileNamed , '/opt/rt3.8/etc/rt.log');
> Set($LogToSyslog  , 'debug');
> 
> Then I changed the permissions for rt.log to be -rw-rw-rw. I added a 
> line at the top of the file: #started on 9/8/2008. I then restarted 
> apache. Playing around inside the interface produces nothing in that 
> file. I'm not sure I'm doing it right.
> 
> Thanks,
> -Chris
> 
> 
Set($LogToFile      , debug);
Set($LogDir, 'var/log');
Set($LogToFileNamed , "rt.log");    #log to rt.log





-- 
--
Chaim Rieger



More information about the rt-users mailing list