Logging to file

RT version3.4.2

This is what I added to my RT_SiteConfig.pm

Mail loops will generate a critical log message.

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

However when I log in the log file location there is no log… it’s been 3
days…

How much info is logged in debug mode?

Is there something I am missing in order to get the logs sent to a file?

Thanks.

I’ve always had to touch the log file and give appropriate permissions.

spydrrrrr@gmail.com wrote:

RT version3.4.2

This is what I added to my RT_SiteConfig.pm

Mail loops will generate a critical log message.

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

However when I log in the log file location there is no log… it’s
been 3 days…

How much info is logged in debug mode?

Is there something I am missing in order to get the logs sent to a file?

Thanks.


The rt-users Archives

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

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

Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati

ok I will try that…

any idea of what will be logged in debug mode?On 8/29/06, Drew Barnes barnesaw@ucrwcu.rwc.uc.edu wrote:

I’ve always had to touch the log file and give appropriate permissions.

spydrrrrr@gmail.com wrote:

RT version3.4.2

This is what I added to my RT_SiteConfig.pm

Mail loops will generate a critical log message.

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

However when I log in the log file location there is no log… it’s
been 3 days…

How much info is logged in debug mode?

Is there something I am missing in order to get the logs sent to a file?

Thanks.


The rt-users Archives

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

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


Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati