![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Logback dev list
|
|
Created:
|
26/Jul/12 10:23 AM
|
|
Description:
|
I noticed a problem in the class ResilientFileOutputStream, used in FileAppender to create the output stream.
The class ResilientFileOutputStream has two output stream, a FileOutputStream and an OutputStream (instantiated with a BufferedOutputStream). The latter is inherited from the class ResilientFileOutputStreamBase that ResilientFileOutputStream extends. Since ResilientFileOutputStream has no close method, when a FileAppender is stopped the close method of ResilientFileOutputStreamBase gets called, this method only close the OutputStream.
Hence, when a FileAppender is stopped, the FileOutputStream of ResilientFileOutputStream is not closed. As a consequence, instances of FileAppender, ResilientFileOutputStream and FileOutPutStream are kept in memory even if they are no more used.
|
|
Project:
|
logback
|
|
Priority:
|
Critical
|
|
Reporter:
|
Dario Campagna
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev