How can I determine what log configuration source Logback actually used?

后端 未结 4 1245
半阙折子戏
半阙折子戏 2020-12-24 06:01

log4j has a property, log4j.debug, which will helpfully provide the user with an indication of which configuration file was actually used to configure the loggi

4条回答
  •  自闭症患者
    2020-12-24 06:35

    Not very scientific, but it works if you just want a quick confirmation.

    I simply changed the log entry pattern and observed whether or not it changed in my console/log file.

提交回复
热议问题