How to send java.util.logging to log4j?

前端 未结 7 1330
囚心锁ツ
囚心锁ツ 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:17

    OCTOBER 2014

    Since version 2.1 of log4j exists the component log4j-jul, which allows exactly this. Still, in case you are using log4j 1, it has to be possible to upgrade to log4j2 in order to use this approach.

    JDK Logging Adapter

    Class LogManager

    Migrate from log4j 1.x to log4j 2

提交回复
热议问题