Logging messages to specified file

When importing data into rt3, all messages are logged to
"/var/log/messages" via
syslog. How can I change this to log to a different file?

mixo wrote:

When importing data into rt3, all messages are logged to
“/var/log/messages” via
syslog. How can I change this to log to a different file?
grep in RT_Config.pm for ‘log|logging’.

Ruslan U. Zakirov wrote:

mixo wrote:

When importing data into rt3, all messages are logged to
“/var/log/messages” via
syslog. How can I change this to log to a different file?

grep in RT_Config.pm for ‘log|logging’.

That gives me:

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

I tried setting “LogToSyslog” to “undef”, but the messages still went to
syslog.
What am I supposed change.