I'm struggling with my client since he does not want any of our webapp's related messages to log to catalina.out.
I've so far redirected all System out/err to my log4j instance. This is great. But now I face the standard java libraries which uses JUL.
I've found hints which I don't like since it involves using SLF4J as primary log (JUL to LOG4j) but we are at production level of our project and we are not changing the logger.
Also, Tomcat 6 allows to use LOG4J which seems a bit drastic as a solution. I've also found a bridge (JUL to LOG4J bridge) but it's not verbose enough for me to know how to proceed.
How can I pickup only the logs generated by my deployed webapp to be sent to my LOG4J configured out file, even if they are from any java lib like rt.jar?