edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QUARKS-214) textFileWriter needs to support compressed rolling log generation
Date Mon, 27 Jun 2016 21:36:00 GMT

    [ 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:


    [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:


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 <dlaboss@us.ibm.com>
Date:   2016-06-27T19:56:58Z

    [WIP] [QUARKS-214] Add CompressedFileWriterPolicy

commit 7496c593a4ae0eef81d72e4dd27f1aedfa14dad0
Author: Dale LaBossiere <dlaboss@us.ibm.com>
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

View raw message