How to send java.util.logging to log4j?

前端 未结 7 1375
囚心锁ツ
囚心锁ツ 2020-11-29 02:51

I have an existing application which does all of its logging against log4j. We use a number of other libraries that either also use log4j, or log against Commons Logging, wh

7条回答
  •  日久生厌
    2020-11-29 03:00

    @Yishai - Thanks for posting the link to my wiki. The example there redirects JUL to Log4J and I've had it running in a production system for a few years. JBoss 5.x already redirects JUL to Log4J, so I took it out when we upgraded. I have a newer one that redirects to SLF4J, which I use on a few things now. I'll post that when I get a chance.

    However, SLF4J already has it:

    http://mvnrepository.com/artifact/org.slf4j/jul-to-slf4j

提交回复
热议问题