You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2016/06/27 19:31:52 UTC

[jira] [Created] (QUARKS-214) textFileWriter needs to support compressed rolling log generation

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)