Hi!
Updating James to use Logkit 1.0b2 I came across this scenario: a
component in a SAR that needs two loggers: one for 'functional' purposes
and one for security purposes (ie I want to be able to handle Access or
Authorization Exceptions differently than run of the mill stuff).
I was using Logkit.getLoggerFor(james.Security) but LogKit is now
deprecated.
What is the best way to do this?
Can I get a specified category from the Hierarchy objects in Phoenix?
Would it be better to go:
Logger securityLogger = getLogger().getChildLogger("security");
and then use the server.xml file to plumb all the *.security loggers
together?
Cheers,
Charles
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]