Configure scrip message in error_log

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.

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?

Thanks and regards,
Brian

smime.p7s (3.64 KB)

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