The current Log4jService mbean, while it does allow
logging to take place through log4j, does not appear to
allow use of one of its big features-- categories that
can be turned on and off independently. This patch
partially fixes this by using the log name as a
category name. This is not the full power of the
hierarchy of categories supported by log4j, but it is
way better than nothing.
This patch consists of a few lines of code to use the
log name as the category, rather than always using the
root category, and a (commented out) example line in
log4j.properties showing a simple use of this feature.
patch to Log4jService and example in log4j.properties.
Logged In: YES
user_id=175239
David,
Thanks for the diff file.
Committed to MAIN (2.3) branch.
Closing and moving to change notes..