From: <msc...@ao...> - 2002-09-30 06:00:35
|
In a message dated Wed, 25 Sep 2002 8:30:13 AM Eastern Standard Time, da...@ep... writes: >if you want i may have time to look into this further > over the next couple of weeks and submit a patch for > you guys to review... That'd be definitely apprechiated. Basically, the Log4perl philosophy is: Have the logging system determine if the message is being logged or not. The appender just logs, no questions asked. Reason for this is that Log4perl offers a much more granular system to steer the logging behaviour of an application than typical logging systems. You're allowed to say "turn logging off in this system component only", "turn on DEBUG in this class and ERROR in that other class" and many more. For a more detailed description on what's possible, please check http://www.perl.com/pub/a/2002/09/11/log4perl.html The only way I see this far to have the Apache Appender participate in the Log4perl game is that it needs to log unconditionally. If it makes its own decision, based on yet another configuration file, that's like two people sitting in front of a TV, each holding a remote control :). But, you're more familiar with the Apache code, I'm looking forward to your patches ... -- -- Mike ############################ # Mike Schilli # # log...@pe... # # http://perlmeister.com # # log4perl.sourceforge.net # ############################ |