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 Tue, 28 Jun 2016 14:57:57 GMT

    [ https://issues.apache.org/jira/browse/QUARKS-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353134#comment-15353134
] 

ASF GitHub Bot commented on QUARKS-214:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-quarks/pull/152


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

Mime
View raw message