[rt-users] RT363 - Problem logging to log file

Sasha Gerrand sashag at austbrokers.com.au
Fri Mar 23 03:17:16 EDT 2007


Change the following and you should see output in the designated log
file. The log file output was undefined previously.

Set($LogToFile      , 'debug');

Regards,
Sasha

Sasha Gerrand
Web & Database Developer
 
Austbrokers Holdings Limited
Level 21, 111 Pacific Highway
North Sydney NSW 2060
PO Box 1813 North Sydney NSW 2060
 
Ph:       02 9935 2230
Mobile:  0431 895 718
Email:   sashag at austbrokers.com.au
Web:    http://www.austbrokers.com.au
 
NOTICE
If you are not an authorised recipient of this email, please contact
Austbrokers Holdings immediately by return e-mail or by telephone on
+61-2-4920-6117. In this case, you should not read, print, re-transmit,
store or act on this e-mail or any attachments. Please destroy the
message and attachments. This e-mail and any attachments are
confidential and may contain legally privileged information and/or
copyright material of Austbrokers Holdings or third parties. You should
only re-transmit, distribute or commercialise the material if you are
authorised to do so. Internet e-mails are not necessarily secure,
Austbrokers Holdings does not accept responsibility for changes made to
this message after it was sent. This Notice should not be removed.

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of chaim
rieger
Sent: Friday, 23 March 2007 9:45 AM
To: rgurung at cait.org
Cc: RT Users
Subject: Re: [rt-users] RT363 - Problem logging to log file

Raj K Gurung wrote:
> Recently I installed RT363 in FC6. I changed  RT_SiteConfig.pm file to

> log to logfile. But I could not see any logs in the logfile. Here goes

> my configuration
>
>
> Set($LogToSyslog    , 'debug');
> Set($LogToScreen    , 'error');
> Set($LogToFile      , undef);
> Set($LogDir, '/var/log/rt3/');
> Set($LogToFileNamed , "rt.log");
>
> Is there any thing missing or to be added. This conf didn't help 
> either.
> @LogToSyslogConf = ( socket => 'inet');
>
> Thanks in advance,
> raj
>
> _______________________________________________
>   
does /var/log/rt3 exists,
does the RT_User have permissions to write to /var/log/rt3/rt.log ?



--
--
Chaim Rieger

_______________________________________________
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



More information about the rt-users mailing list