arthas-排查logger冲突问题
tag: Arthas
1.查看类的Logger具体信息
ognl -c 1be6f5c3 '@com.example.demo.arthas.user.UserController@logger'
2.获取logback实际加载的配置文件
ognl -c 1be6f5c3 '#map1=@org.slf4j.LoggerFactory@getLogger("root").loggerContext.objectMap, #map1.get("CONFIGURATION_WATCH_LIST")'
3.使用classloader 查找可能存在的logger配置文件
classloader -c 1be6f5c3 -r logback-spring.xml