[rt-users] Logging -> Completely separating RT from Apache default

Mike Peachey mike.peachey at jennic.com
Mon Feb 23 08:53:00 EST 2009


I've missed something somewhere and I'm not sure where.. some logging is
still slipping through to my default Apache error_log.

RT_SiteConfig.pm:

Set($LogToSyslog,                       '');
Set($LogToFile,                         'info');
Set($LogDir,                            '/opt/rt3/var/log');
Set($LogToFileNamed ,                   'rt.log');

Apache VHost Config File for RT:

<VirtualHost *:80>
    ServerName rt.example.com
    ServerAlias rt
    DocumentRoot /opt/rt3/share/html

    CustomLog /opt/rt3/var/log/apache-vhost-customlog common
    ErrorLog /opt/rt3/var/log/apache-vhost-errorlog

...<snipped extraneous info>...
</VirtualHost>

Yet, the runtime [error] and [info] messages are going into
/var/log/httpd/error_log (default for apache).

e.g.:
[Mon Feb 23 12:54:09 2009] [error]: WebRT: No ticket specified
(/opt/rt3/share/html/Elements/Error:82)

and

[Mon Feb 23 13:08:12 2009] [info]:
<rt-3.8.2-12345-1234567890-111.1111-1-1 at example.com> #111/26875 - Scrip
7 On Correspond Notify Other Recipients
(/opt/rt3/bin/../local/lib/RT/Action/SendEmail.pm:301)

What have I missed?
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________



More information about the rt-users mailing list