KB Article #178001

WARN statements from FtpLoggingFilter.log cause large, un-readable log files

Problem

After upgrading Interchange from 5.10.1 to 5.12.0, it may be noticed that there are a large number of WARN statements logged in the TE log(s) which include a stack trace. These messages cause the logs to be filled with unnecessary information, and can be safely ignored.

This is the stack trace:

2016-06-20 17:54:59,067 - WARN [Thread-23] (FtpLoggingFilter.log:122) - EXCEPTION :

org.apache.mina.core.write.WriteToClosedSessionException

at org.apache.mina.core.polling.AbstractPollingIoProcessor.clearWriteRequestQueue(AbstractPollingIoProcessor.java:573)

at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:534)

at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:497)

at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:61)

at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:974)

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)


Resolution

To suppress the log messages, add this line to conf/log4j.properties:

log4j.category.org.apache.ftpserver.listener.nio.FtpLoggingFilter=error

The change will take effect immediately.