【使用Arthas动态修改日志级别】教程文章相关的互联网学习教程文章

使用Arthas动态修改日志级别【代码】

1.找到需要修改日志级别的类sc -d *TestService 目的就是为了找出 classLoaderHash2.确认一下上一步找到的 classLoaderHash 对应类的日志级别是什么logger -c 3dddf45g 一定要找到 root 对应的 level,看是否和存在以及和现有的是否一致3.修改日志等级logger -c 3dddf45g --name root --level info 原文:https://www.cnblogs.com/manastudent/p/14898089.html