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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to