Dale LaBossiere created QUARKS-214:
--------------------------------------

             Summary: textFileWriter needs to support compressed rolling log 
generation
                 Key: QUARKS-214
                 URL: https://issues.apache.org/jira/browse/QUARKS-214
             Project: Quarks
          Issue Type: Improvement
            Reporter: Dale LaBossiere
            Assignee: Dale LaBossiere


Need to be able to configure FileStreams.textFileWriter such that the rolling 
files it creates are compressed.  

The use case was that textFileWriter was being used to create log files.  The 
uncompressed files were too large for the amount of info that needed to be 
retained.

I was able to easily subclass the FileWriterPolicy to create a 
CompressedFileWriterPolicy and the application create and use an instance of 
that for the policy it passed into FileStreams.textFileWriter().  I'll create a 
PR with the code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to