Peter Palaga created CXF-9122:
---------------------------------
Summary: DelayedCachedOutputStreamCleaner logs the whole content
of the cached stream being closed
Key: CXF-9122
URL: https://issues.apache.org/jira/browse/CXF-9122
Project: CXF
Issue Type: Bug
Affects Versions: 4.1.1
Reporter: Peter Palaga
If DelayedCachedOutputStreamCleaner detects an unclosed stream, it logs the
{{closeable}} instance:
{code}
LOG.warning("Unclosed (leaked?) stream detected: " +
next.closeable);
{code}
If the closeable is {{org.apache.cxf.io.CachedOutputStream}} then its
{{toString()}} outputs all bits from the cached stream.
If this happens often enough and/or the streams are large enough, the log may
grow very big very fast which may lead to filling the disk of the machine.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)