How can I configure logging categories for a POJO that implements
AbstractLogEnabled?

Its methods (containing the logging statements) are called by various
Actions and Generators; before these calls are made, the actions/generators
call pojo.enableLogging(getLogger()) to initialize the POJO's logger.

I have confirmed that the logging works -- I see log entries in the default
log target. But how can I assign a category to them?

I have seen how sitemap components can have their category defined eg.
logger="...". I see that the log entries coming from my pojo are getting the
category of the calling component. I don't want that; I want to create a
special category just for my POJO.
-- 
View this message in context: 
http://www.nabble.com/Log-categories-for-POJOs-implementing-AbstractLogEnabled-tf4198209.html#a11940212
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to