How can I enable log request tracker?

I would like to install request tracker and activate the log file, but when I set the and try to access the webpage I get 500 - Internal Server Error.


Set($LogToFile , ‘debug’);
Set($LogDir, ‘/var/log/request-tracker4’);
Set($LogToFileNamed , “rt.log”);

The error log the following (apache):

Log file ‘/var/log/request-tracker4/rt.log’ couldn’t be written or created.

How can I add permission to the log file?

Either give write & execute permission to /var/log and /var/log/request to whatever user your web server runs as (usually “httpd” or “apache”),


change to logging to /tmp by swapping:

Set($LogDir, ‘/var/log/request-tracker4’);

to be:

Set($LogDir, ‘/tmp’);