【发布时间】:2013-01-15 10:16:58
【问题描述】:
我的日志文件中不断收到信息消息。
我正在使用码头和弹簧。
INFO org.springframework.remoting.support.RemoteInvocationTraceInterceptor - Processing of HessianServiceExporter remote call resulted in exception...
我没有收到关于 tomcat 的消息。有没有办法关闭这些消息?
我也在使用 log4j slf4j 和 commons 日志记录。
当我调试 log4j 时,会加载正确的配置文件。
不知何故,另一个日志记录正在将这些消息添加到文件中......
我认为因为 Spring 使用公共日志记录,它使用 RemoteInvocationTraceInterceptor 生成信息消息。
无论您在 log4j.xml 中设置什么,公共日志记录都不会将其发送到 log4j,而只会写入信息。
【问题讨论】: