Migrating from log4j to log4j2 - properties file configuration

前端 未结 5 1168
天涯浪人
天涯浪人 2020-12-14 20:25

I have a java application which is using log4j configured as below.

log4j.properties

log4j.rootLogger=I         


        
5条回答
  •  误落风尘
    2020-12-14 20:38

    Log4j2 supports .properties files but they have changed property syntax. You can check their manual here it covers all you need to create new configuration.

提交回复
热议问题