Suppressing/redirecting log messages?

Okay, next question. How can I suppress or redirect all of the logger
output? It produces too much output for my utility and will probably
confuse its users… I can’t seem to find any docs on RT::Logger, and
the mail archive doesn’t have much info either. I know I can just
redirect stderr, but I don’t want to have to redirect the whole stream,
just the log messages.

Thanks.

Johnathan Bell
Internet System Administrator, Baker College

After RT::LoadConfig, but befor RT::Init, you can adjust Log* options
using RT->Config->Set( Option => $value ).On Fri, May 22, 2009 at 8:01 PM, Johnathan Bell johnathan.bell@baker.edu wrote:

Okay, next question. How can I suppress or redirect all of the logger
output? It produces too much output for my utility and will probably
confuse its users… I can’t seem to find any docs on RT::Logger, and
the mail archive doesn’t have much info either. I know I can just
redirect stderr, but I don’t want to have to redirect the whole stream,
just the log messages.

Thanks.


Johnathan Bell
Internet System Administrator, Baker College


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.