James and it's container, Phoenix, don't expose the necessary mechanisms
for you to create your own loggers. You _might_ be able to bypass them
by using the Logkit hierarchy directly:
Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
Logger parentLogger = hierarchy.getLogger("James.Mailet");
...or maybe...
Logger parentLogger = hierarchy.getRootLogger();
...and then...
Logger logger = parentLogger.getChildLogger("MyAwesomeMailet");
The javadoc APIs for org.apache.log at
http://excalibur.apache.org/apidocs/ should be close enough to use as a
reference.
Good luck
Steve
> -----Original Message-----
> From: Fadi Mujahid [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 26, 2005 2:03 AM
> To: James Users List
> Subject: logkit from mailet
>
> Hello
> I am trying to use the logkit library to log custmized
> logging from a mailet. Any idea on how to do so?
>
> thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]