james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: Finer Logging Control for Mailets/Matchers
Date Fri, 07 Jun 2002 13:53:56 GMT
Fair enough.  :-)  So what ideas do people have with respect specifically to
how matchers and mailets should have access to logging services?

	--- Noel

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: Friday, June 07, 2002 9:39
To: James Developers List
Subject: Re: Finer Logging Control for Mailets/Matchers


Yes, I'm not happy with that change just yet.  This requires a change to
the mailet API, which is something I want to discuss much more before
changing.  We have this issue to change when we do make a new version of
the mailet API.
--
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com

Noel J. Bergman wrote:
> Andrei,
>
> I'll be happy to do the code, but does anyone else want it, and are people
> OK with a MailetContext.getMailetLogger() method?  I'd just as soon not
> submit a change that gets bitbucketed.
>
> 	--- Noel
>
> -----Original Message-----
> From: Andrei A. Ivanov [mailto:myfam@surfeu.fi]
> Sent: Friday, June 07, 2002 9:25
> To: James Developers List
> Subject: Re: Finer Logging Control for Mailets/Matchers
>
> Hi,
>
>
>>We could expose
>>MailetContext.getMailetLogger()
>
>
> Let's do it, the sooner the better.
>
> What about other ideas: like make it possible to specify per mailet logger
> etc?
>
> Andrei
>
> ----- Original Message -----
> From: "Noel J. Bergman" <noel@devtech.com>
> To: "James Developers List" <james-dev@jakarta.apache.org>
> Sent: Friday, June 07, 2002 4:04 PM
> Subject: Finer Logging Control for Mailets/Matchers
>
>
>>Andrei,
>>
>>James implements MailetContext.  MailetContext provides the two log
>
> methods
>
>>available to Mailets.  Those two methods use:
>>
>>        getMailetLogger().info(...);
>>
>>which is a private method of James.  We could expose
>>MailetContext.getMailetLogger() for matchers and mailets that want finer
>>control over the log level.
>>
>>--- Noel



--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message