On 02/24/2012 12:49 PM, Richard McMahon wrote:
> #!/usr/bin/perl -w
> use strict;
> use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
> use RT;
> # Load the config file
> RT::LoadConfig();

Between RT::LoadConfig() and RT::Init(), you should be able to insert
lines like so to change the variables you need:

    RT->Config->Set( LogDir => '...' );

or to disable logging to the file and only log elsewhere (syslog,
screen) as configured:

    RT->Config->Set( LogToFile => undef );

> # Connect to the database and get RT::SystemUser
> # loaded
> RT::Init();

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

Reply via email to