Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 logback.xml 中为我的所有类添加了单独的记录器,我正在使用它来控制我的记录器。现在我从班级使用的罐子里得到一些日志。我如何关闭或控制这些记录器的级别。有什么建议么 ???我无法知道 jar 的确切位置,因为在日志消息中它看起来好像来自类本身而不是来自 JAR。请帮帮我
Suppose You are getting some DEBUG level messages from the "com.eclipse" jar and you want to turn it off. You can do it like this in your logback.xml file :
<logger name="org.eclipse" level="INFO" />