[
https://issues.apache.org/jira/browse/QUARKS-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351880#comment-15351880
]
ASF GitHub Bot commented on QUARKS-214:
---------------------------------------
GitHub user dlaboss opened a pull request:
https://github.com/apache/incubator-quarks/pull/152
[QUARKS-214] Add CompressedFileWriterPolicy
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dlaboss/incubator-quarks
quarks-214-CompressedFileWriter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quarks/pull/152.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #152
----
commit a23a30365a6aef3efc461b30f1bb121ff8608876
Author: Dale LaBossiere <[email protected]>
Date: 2016-06-27T19:56:58Z
[WIP] [QUARKS-214] Add CompressedFileWriterPolicy
commit 7496c593a4ae0eef81d72e4dd27f1aedfa14dad0
Author: Dale LaBossiere <[email protected]>
Date: 2016-06-27T21:34:07Z
test CompressedFilePolicy
----
> 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)