[rt-users] logging

Ben Robson ben.robson at classicblue.com.au
Mon Mar 27 23:49:07 EST 2006


Luke,
 
This may seem like an obvious answer, but it was what did it for me:  Check permissions on the $LogDir directory to make sure the web server has write permission and make sure you stop and start the web server.
 
BenR

________________________________

From: rt-users-bounces at lists.bestpractical.com on behalf of Luke Vanderfluit
Sent: Tue 28/03/2006 2:46 PM
To: RT users
Subject: [rt-users] logging



Hi.

I have the following lines in my RT_SiteConfig.pm

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  Mail loops will generate a critical log message.
Set($LogToSyslog    , 'alert');
Set($LogToScreen    , undef); 
Set($LogToFile      , 'alert');
Set($LogDir, '/usr/local/rt3/var/log');
Set($LogToFileNamed , "rt3.log");    #log to rt.log

@LogToSyslogConf = ( socket => 'inet' );
\_____________________________

In other words I want to log to the rt3.log file with 'alert' message level.

I don't get any output in that file, though, no matter what operations I
carry out in RT.
Is there something that I need to change in Log::Dispatch?

Any hints on getting logging to rt3.log working?

Thanks.
Kind regards.

--
Luke

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html


............................................................................................................................

This email (including all attachments) is intended solely for the named addressee. It is confidential and may contain legally privileged information. If you receive it in error, please let us know by reply email, do not disclose any information contained in it, delete it from your system and destroy any copies. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. Emails may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems.

We give no warranties in relation to these matters. If you have any doubts about the authenticity of an email purportedly sent by us, please contact us immediately.  Privacy - Please be aware that information provided in response to this email may contain personal information, which Classic Blue may collect, and use for the purposes of marketing information technology products and services to you.  For further information regarding Classic Blue's privacy policies please refer to www.classicblue.com.au
............................................................................................................................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060328/cc0c3bc5/attachment.htm>


More information about the rt-users mailing list