I should have mentioned to have a look at the default error code on cvs in "org/apache/log/output/AbstractTarget.java"
"Berin Loritsch" <[EMAIL PROTECTED]> on 03/04/2002 02:24:11 Please respond to "Avalon Developers List" <[EMAIL PROTECTED]> To: "'Avalon Developers List'" <[EMAIL PROTECTED]> cc: Subject: RE: ConsoleLogger inside AbstractLogEnabled (AbstractLoggable) Honestly, we should throw a LoggerNotSetException() or something useful like that. If you return a NullLogger (swallows all log events) or a ConsoleLogger (slows everything down by forwarding events to the screen), you never report a bug to the user. Furthermore, you are not guaranteed access to the System.out stream. The LoggerNotSetException approach is cleaner--and forces the developer to write correct code. It also gives the developer a clue as to what the real problem is. **************************************************************** NOTICE - This message is intended only for the use of the addressee named above and may contain privileged and confidential information. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action based upon it. If you received this message in error please notify HIC immediately. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of HIC. **************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
