[logback-dev] [JIRA] Commented: (LBCORE-79) FixedWindowRollingPolicy performs compression on the logging thread

Francisco González (JIRA) noreply-jira at qos.ch
Fri Sep 2 12:38:16 CEST 2011


    [ http://jira.qos.ch/browse/LBCORE-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12111#action_12111 ] 

Francisco González commented on LBCORE-79:
------------------------------------------

I've modified the original file using code from TimeBasedRollingPolicy.java and got it working for me.

Feel free to use the attached patch in any way you need.

> FixedWindowRollingPolicy performs compression on the logging thread
> -------------------------------------------------------------------
>
>                 Key: LBCORE-79
>                 URL: http://jira.qos.ch/browse/LBCORE-79
>             Project: logback-core
>          Issue Type: Improvement
>          Components: Rolling
>    Affects Versions: 0.9.13
>            Reporter: Szel Zoltan
>            Assignee: Logback dev list
>         Attachments: FixedWindowRollingPolicy.java.patch
>
>
> Hi,
> the FixedWindowRollingPolicy performs the compression on the logging thread which can bring the application to halt, when compressing large files. 
> Please consider modifing the FixedWindowRollingPolicy  to perform the operation on a background thread as requested in  	 LBCORE-48.
> Regards,
> Zoltan Szel

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


More information about the logback-dev mailing list