[rt-users] configure scrip message in error_log

Kevin Falcone falcone at bestpractical.com
Fri Jul 1 11:09:56 EDT 2011


On Thu, Jun 30, 2011 at 02:16:35PM -0700, Brian Dugay wrote:
> Hi,
> 
> I have inherited 2 instances of RT (v3.8.4) running on Mac OS X
> 10.5.8. One instance is logging scrip messages to the apache2
> error_log. E.g. when an comment or correspondence action occurs, it is
> possible to see the scrip messages in one apache2 error_log but not
> the other. The RT_SiteConfig.pm's are configured the same with regard
> to logging.

If you show the last line of the log messages, it'll contain something
like (/opt/rt3/lib/RT/Action/SendEmail.pm:660) which tells you where
the output is coming from.  The line in the .pm file will tell you
what log level it is logging at

-kevin

> 
> Set($LogToSyslog, 'warning'); 
> Set($LogToScreen, 'info');
> #--------------------------------------------------------#
> Set($LogToFile, undef);
> Set($LogDir, '/var/log');
> Set($LogToFileNamed, 'rt.log'); #log to rt.log
> #--------------------------------------------------------#
> Set($LogStackTrace, '');   
> Set(@LogToSyslogConf, ()); 
> 
> The httpd.conf files are also configured similarly:
> 
> ErrorLog "logs/error_log"
> LogLevel info
> 
> 
> Can anybody steer me in the right direction?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110701/73e68785/attachment.sig>


More information about the rt-users mailing list