[rt-users] tmp files, rt.log files

Bruce Campbell bruce_campbell at ripe.net
Mon Mar 11 04:43:12 EST 2002


On Sun, 10 Mar 2002, matthew zeier wrote:

> > On Sat, Mar 09, 2002 at 11:32:25PM -0800, matthew zeier wrote:
> > >
> > > How do I turn off /tmp/rt.log.* all together?  I get a lot of 0 byte
> files
> > > in /tmp.
> >
> > It's in ~rt/etc/config.pm
>
> It's not clear to me how to turn it off completely.
>
> $LogToFileNamed = "$LogDir/rt.log.".$$.".".$<; #log to rt.log.<pid>.<user>

$LogToFileNamed = "/dev/null";

I'd recommend stuffing the messages in a file you keep and rotate though.

Regards,

-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the rt-users mailing list