http://qs321.pair.com?node_id=519584


in reply to Log Files Module

See good 'ol cpan log:log4perl

Replies are listed 'Best First'.
Re^2: Log Files Module
by tirwhan (Abbot) on Dec 28, 2005 at 16:46 UTC

    Seconded. I keep looking at other logging modules because log4perls configuration syntax and general appearance just seems strange and unperlish to me, but I keep going back to it because for pure functionality it has no rival.


    A computer is a state machine. Threads are for people who can't program state machines. -- Alan Cox
      I keep looking at other logging modules because log4perls configuration syntax and general appearance just seems strange and unperlish to me
      You might then want to use Log4perl's easy mode, which is as perlish as it could get:
      use Log::Log4perl qw(:easy); Log::Log4perl->easy_init({ level => $INFO, file => ">>foo.txt" }); DEBUG "Doesn't make it."; INFO "Hella!\n";