[rt-users] Logging

Ruslan U. Zakirov cubic at acronis.ru
Thu Sep 4 10:51:00 EDT 2003


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.<pid>.<user>
>
>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.





More information about the rt-users mailing list