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/28 18:52:57 UTC

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

     [ https://issues.apache.org/jira/browse/QUARKS-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dale LaBossiere resolved QUARKS-214.
------------------------------------
    Resolution: Fixed

> 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)