This produces the error.

Log file '/local/rt3/var/log/rt.log' couldn't be written or created.
 RT can't run. at /local/rt3/lib/RT.pm line 318.

Is there a way to change the location of the of rt.log from within a perl
script. I do not have root priveledges and only want read access for
queries using the API.

     I do not know if this helps, but in RT_SiteConfig.pm you could
set, for instance,

Set($LogDir,'/tmp/');
Set($LogToFileNamed, 'rt.log');

or wherever it needs to go. About /local/rt3/var/log/rt.log, I wonder
who owns /local/rt3/var/log.



thanks

on our system:

/local/rt3/var/log/rt.log is owned by apache

/local/rt3/etc/RT_Config.pm and
/local/rt3/etc/RT_SiteConfig.pm are owned by root

r.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Reply via email to