Logging

Is logging enabled by default on RT 3.0.0. If not, where it shoud be
activated?

Thanks.

Is logging enabled by default on RT 3.0.0. If not, where it shoud be
activated?

Thanks.


rt-users mailing list
rt-users@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

/path/to/rt/etc/RT_Config.pm

Search for Logging, and apply chages to your RT_SiteConfig.pm

/rhb

It says there that by default it logs everything to a file. However,
/opt/rt3/var/log is empty. My Config about logging is this (I’ve changed the
$LogToFileNamed variable):

Set($LogToSyslog , ‘debug’);
Set($LogToScreen , ‘error’);
Set($LogToFile , undef);
Set($LogToFileNamed , “/var/log/rt.log”); #log to rt.log..

My guess is that I should change th LogToFile value, but putting it to 0
didn’t do it.-----Original Message-----
From: Rasmus Brøgger [mailto:Rasmus.Brogger@uni-c.dk]
Sent: Jueves, 04 de Septiembre de 2003 10:51 a.m.
To: Jaime Diaz
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Logging

On Thu, Sep 04, 2003 at 10:33:16AM -0300, Jaime Diaz wrote:

Is logging enabled by default on RT 3.0.0. If not, where it shoud be
activated?

Thanks.


rt-users mailing list
rt-users@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

/path/to/rt/etc/RT_Config.pm

Search for Logging, and apply chages to your RT_SiteConfig.pm

/rhb

Jaime Diaz wrote:

It says there that by default it logs everything to a file. However,
/opt/rt3/var/log is empty. My Config about logging is this (I’ve changed the
$LogToFileNamed variable):

Set($LogToSyslog , ‘debug’);
Set($LogToScreen , ‘error’);
Set($LogToFile , undef);
Set($LogToFileNamed , “/var/log/rt.log”); #log to rt.log..

My guess is that I should change th LogToFile value, but putting it to 0
didn’t do it.

You have to specify Log Level(‘debug’, ‘crit’, etc. there is list in
comments) not digit and just FYI zero is also false like undef it’s not
true value.
Good luck. Ruslan.