0
我有一个web应用程序部署在tomcat服务器上。 我使用log4j进行日志记录。它运作良好。 但问题是,当有什么发生,log4j的连续写入以下日志文件:Log4j不断写入日志文件,即使没有什么可写的东西?
[DEBUG] 2016-03-09 09:13:46,617 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:13:56,620 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:14:06,623 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:14:16,626 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:14:26,629 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:14:36,632 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:14:46,635 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:14:56,638 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:15:06,641 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:15:16,644 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
[DEBUG] 2016-03-09 09:15:26,647 com.mchange.v2.async.ThreadPoolAsynchronousRunner - com[email protected]1f3e145e -- Running DeadlockDetector[Exiting. No pending tasks.]
我不想在日志文件中的这些消息。
有没有解决方案?