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 Finer Logging Control for Mailets/Matchers
Date Fri, 07 Jun 2002 13:04:15 GMT
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

-----Original Message-----
From: Andrei A. Ivanov [mailto:myfam@surfeu.fi]
Sent: Friday, June 07, 2002 4:12
To: James Developers List
Subject: Re: SAR-INF

[clip]
In mailets there is possibility to use only INFO (or at least only one,
fixed) log level, is there? If so, this has to be changed so that inside
mailet log level can be specified. It is better to setLogger(...) for mailet
in, let's say LinearProcessor and then let mailet designer decide about
desired log level. This may be is not so important for simple mailets but if
we think about such mailet as RemoteDelivery when the story is different.
[clip]


--
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