damian45 has asked for the wisdom of the Perl Monks concerning the following question:

hi all monks

I looking for a relatively simple, 'just works' logging module that I can standarize perl web based, and non web based apps, on many machine. Need to be able to log to stderr and syslog-ng (same time) via different level

ALERT      
CRIT      
ERR      
WARNING 
NOTICE 
INFO  
DEBUG

Syslog-ng will handle any actions like send the email if level > warning etc

I'm looking for something simpler and easy to use so other programmers will not hate using it if I standardize. I'm going through whats on cpan now but wondered if anyone had any particular favorite.

cheers!

Replies are listed 'Best First'.
Re: favorite 'just works' logging module
by stephen (Priest) on Jun 15, 2010 at 17:49 UTC
    I'd suggest Log::Log4perl, possibly together with Log::Dispatch. It's very configurable and fairly standard, and when used with Log::Dispatch can log to syslog.

    stephen