SpringSource/spring-integration — pull request #728 by garyrussell (2013-02-01 17:02:02+00:00)
Title: INT-2911 IO Exceptions Not Logged as ERROR

TcpNetConnection IO errors were only logged under DEBUG.

Code was added to suppress the error log when the exception
was due to a normal close. This inadvertently suppressed all
ERROR logs.

Capture a local copy of this.noReadErrorOnClose before closing
the socket after an exception.

Add test case to ensure ERROR log is emitted.

__cherry-pick to 2.2.x__