[ 
https://issues.apache.org/jira/browse/CXF-9122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939285#comment-17939285
 ] 

Andriy Redko commented on CXF-9122:
-----------------------------------

[~ppalaga] it has been fixed by [1] and landed in 4.1.1, could you please 
confirm that the version you are using is 4.1.1 since it does not correspond to 
release source tree?

[1] [https://github.com/apache/cxf/pull/2258]

[2] 
https://github.com/apache/cxf/blob/cxf-4.1.1/core/src/main/java/org/apache/cxf/io/DelayedCachedOutputStreamCleaner.java#L132

> 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
>            Priority: Major
>
> 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)

Reply via email to