Turn on Logging in RT

I apologize for the newbie question (I have another thread going that has
stalled out with this question - but it’s really part of a larger question,
so I figured I would pose this question directly - I apologize if everyone
has already read this or if that is a list faux paux).

I need some help turning on “logging”. I saw the entries in RT_Config.pm,
but cannot figure out how to make them work in RT_SiteConfig.pm. I found
several topics through Google about using logging, but none with newbie
instructions for turning it “on”. Thanks in advance for your time.

#Logging
Set($LogToFileNamed , ‘/opt/rt3.8/etc/rt.log’);
Set($LogToSyslog , ‘debug’);

Then I changed the permissions for rt.log to be -rw-rw-rw. I added a line at
the top of the file: #started on 9/8/2008. I then restarted apache. Playing
around inside the interface produces nothing in that file. I’m not sure I’m
doing it right.

Thanks,
-Chris

Chris Nelson wrote:

I apologize for the newbie question (I have another thread going that
has stalled out with this question - but it’s really part of a larger
question, so I figured I would pose this question directly - I apologize
if everyone has already read this or if that is a list faux paux).

I need some help turning on “logging”. I saw the entries in
RT_Config.pm, but cannot figure out how to make them work in
RT_SiteConfig.pm. I found several topics through Google about using
logging, but none with newbie instructions for turning it “on”. Thanks
in advance for your time.

#Logging
Set($LogToFileNamed , ‘/opt/rt3.8/etc/rt.log’);
Set($LogToSyslog , ‘debug’);

Then I changed the permissions for rt.log to be -rw-rw-rw. I added a
line at the top of the file: #started on 9/8/2008. I then restarted
apache. Playing around inside the interface produces nothing in that
file. I’m not sure I’m doing it right.

Thanks,
-Chris

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

Chaim Rieger

It’s so simple it’s hard to figure out! Thanks. I’ll get this turned on and
play around tonight and see what I can do.

Chaim,
Thanks so much for sticking with me, I’ll update the other thread with the
results after I turn on logging. I am also updating to the latest version of
Ubuntu and apache.

-ChrisOn Tue, Sep 9, 2008 at 3:47 PM, Chaim Rieger chaim.rieger@gmail.com wrote:

Chris Nelson wrote:

I apologize for the newbie question (I have another thread going that has
stalled out with this question - but it’s really part of a larger question,
so I figured I would pose this question directly - I apologize if everyone
has already read this or if that is a list faux paux).

I need some help turning on “logging”. I saw the entries in RT_Config.pm,
but cannot figure out how to make them work in RT_SiteConfig.pm. I found
several topics through Google about using logging, but none with newbie
instructions for turning it “on”. Thanks in advance for your time.

#Logging
Set($LogToFileNamed , ‘/opt/rt3.8/etc/rt.log’);
Set($LogToSyslog , ‘debug’);

Then I changed the permissions for rt.log to be -rw-rw-rw. I added a line
at the top of the file: #started on 9/8/2008. I then restarted apache.
Playing around inside the interface produces nothing in that file. I’m not
sure I’m doing it right.

Thanks,
-Chris

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

Chaim Rieger

Chris Nelson wrote:

It’s so simple it’s hard to figure out! Thanks. I’ll get this turned on
and play around tonight and see what I can do.

Chaim,
Thanks so much for sticking with me, I’ll update the other thread with
the results after I turn on logging. I am also updating to the latest
version of Ubuntu and apache.

-Chris
not a problem

i have a public facing rt 3.8.1

if anybody wants to play with it.

Chaim Rieger