jumping in .... Just an observation; when programming for loggin capibilities, the inital logger needs to be configurable from the outside (config.xml) to allow the end user to turn on/off different levels of logging.
That said and done, what needs to follow is a strict adhesion to a way in which logging calls are made and what information is ultimately pumped out.. with this in place, some of the issues around loggin and waht's being pumped out, will fall away leaveing the other more critial issues as to how loggin is performaed and it's connectio to James propper. Is there a defined methodology of whne to make call to the logger from within code ?? alan > There are only two methods that integrate Mailet logging > with James: > MailetContext.log(String); > MailetContext.log(String, Throwable); > > At the moment, both of these log at the INFO level. The > problem is that if someone decides that they only want > warnings and errors, then Mailet Exceptions are lost. > Unfortunately, the continued lack of proper log support in > the Mailet API means that Mailet authors have no control > over when log entries are recorded. > > Entries like "ToProcessor: Sending mail > org.apache.james.core.MailImpl@177115 to transport" should > arguably at DEBUG. The RemoteDelivery mailet is > especially verbose. Some of the information is quite > useful, other entries are not. > Currently we're stuck with this problem, so we have to > pick a global compromise between verbosity and lose of > critical information. Until this problem can be fixed, at > the least exceptions thrown by a mailet should be > considered a warning, if not an error. True, some of them > aren't, but we're still stuck with a compromise, and > better to assume that an exception is important than to > discard it. > --- Noel > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For > additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> Alan Gerhard Gerhard Computing, Inc. [EMAIL PROTECTED] -------------------------------------- This EMail Was brought to you by WebMail A Netwin Web Based EMail Client http://netwinsite.com/webmail/tag.htm -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
