[rt-users] rt-3-0-0 Logging
Ian Grant
Ian.Grant at cl.cam.ac.uk
Mon Apr 7 05:34:49 EDT 2003
>
> Can the user your webserver is running as write to that file (and create
> it)? If not then it will not work I do believe.
Yes it can, as I said in my mail below.
> You could also add
>
> LogLevel debug
> ErrorLog /path/to/log.file
>
> in your <VirtualHost> directive in httpd.conf for Apache (assuming you are
> using apache)...Which would tell you if you can't write to the above
> mentioned log file :)
Thanks for that suggestion. Weirdly, it just started working. (And yes, I am
certain I restarted Apache the first time!)
> I'm using rt-3-0-0. In my RT_SiteConf.pm I have, amongst other things:
>
> Set($LogToSyslog , undef);
> Set($LogToFile , 'debug');
> Set($LogToFileNamed , "/usr/groups/rt/rt3/logs/rt.log");
>
> I have restarted Apache but I still get logging to syslog and nothing in
> the
> log file. I have made the log file directory /usr/groups/rt/rt3/logs owned
> by
> group 'rt', group writeable and apache runs RT scripts as user www, group
> rt.
>
> Does anyone have any ideas as to what the problem might be?
> --
> Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave.,
> Cambridge
> Phone: +44 1223 334420
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>
>
>
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>
--
Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420
More information about the rt-users
mailing list