JULLog4jBridge.assimilate();
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true"> <plugin name="julreceiver" class="org.apache.log4j.jul.JULReceiver" /> ...... </log4j:configuration>
JULLog4jBridge.bridgeJULLogger("foo");
This bridges all events posted to the 'foo' logger into log4j's Logger called 'foo'.
NOTE: this does NOT automatically bridge child Loggers.
...-Djava.util.logging.manager=org.apache.logging.julbridge.JULBridgeLogManager ...
JULLog4jBridge.repatriate();