I have made a MBean that logs normally with log4j. The problem is that it logs so much that I want the output to a separate file, and not in the main logfile.
I have managed to have the output in a separate file using a new appender, and a <category> with <appender-ref> to that logger, but I can't find an easy way to exclude the output to the main log (root category). It outputs the logging from the mbean to both server.log and mylog.log. Have anyone a clue of how to do this? I can't find a comprehensive doc on log4j, not in the for-pay-doc on log4j either. Thanks Marius K Boostcom
signature.asc
Description: This is a digitally signed message part