Log4j suddenly stops logging

前端 未结 5 2066
迷失自我
迷失自我 2020-12-18 21:56

I\'m build a Portlet application deployed to a WebSphere Portal Server running on Linux. Every Portlet WAR uses Log4j for logging with a configuration like this, having ever

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-18 22:35

    For over 5 years, Log4j has hardly any bugs fixed: it's effectively a dead project. If acceptable, consider replacing it with Logback, which implements SLF4j directly.

    Logback and SLF4J are written by the same guy who wrote Log4J (Ceki), has an even more liberal license and has a good community. It is the successor to Log4J 1 in every way possible (except for its name).

提交回复
热议问题