[rt-users] changing logging in RT_SiteConfig.pm breaks things

Mathew Snyder theillien at yahoo.com
Thu May 24 05:11:22 EDT 2007


Gah!  I hate posting here and then figuring out the problem.  It would appear I
didn't, in fact, try apache:apache.  It now works.  Yay me.

Keep up with me and what I'm up to: http://theillien.blogspot.com


Mathew Snyder wrote:
> I've tried to set logging to a file in RT_SiteConfig.pm but whenever I restart
> apache I get a 500 Internal Server Error.
> 
> Set($LogToSyslog    , 'debug');
> Set($LogToScreen    , 'error');
> Set($LogToFile      , undef);
> Set($LogDir, '/usr/local/rt-3.6.1/var/log');
> Set($LogToFileNamed , "rt.log");    #log to rt.log
> 
> I've even touched rt.log.  I'm not sure though who it should belong to.  I've
> set it to root:rt3, apache:apache...nothing works.  What I've found though is
> that changing Set($LogToFile      , undef); to anything other than undef is what
> breaks it.  I'd like to set it to 'debug'.  How do I do this without breaking RT?
> 
> Mathew



More information about the rt-users mailing list