I try to find what code I must change but it's realy difficult because the code of James and Avalon is very very important.
Someone can help me to identify where I must write my Logger/appender and explain what I must change in configuration files!!! Thanks a lot for your futur anwser!!! -Pierre -----Message d'origine----- De : Noel J. Bergman [mailto:[EMAIL PROTECTED]] Envoy� : vendredi 31 janvier 2003 02:56 � : James Users List Objet : RE: User-Log Steve, Do you have some time to write this up, with an example? -----Original Message----- From: Steve Short [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 14:06 To: James Users List Subject: RE: User-Log If you need to do this with the current version of James you can create a new SenderLog Component (at the Avalon level). The SenderLog Component can be have it's own configuration category name and logging level. Then your mailet could simply lookup the SenderLog Component at runtime and use this to do the actual logging. It's kind of messy to add a new Component because you need to change james.xinfo as well as the assembly configuration file and rebuild James, but it's definitely doable. Steve > -----Original Message----- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 9:58 AM > To: James Users List > Subject: RE: User-Log > > > > In fact, I don't understand the process that matches > > maillet name and declaration in the XML file James-server > > James uses Avalon logging. Mailets, however, do not have > fine grained logging support in James v2. Better logging is > proposed for James v3, with a revision of the Mailet API. > > There are things that you could do to work around it, if > necessary. Basically, roll your own logging, or make some > changes to access the underlying Avalon infrastructure. > > --- Noel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
