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

Dominik Psenner commented on LOG4NET-579:
-----------------------------------------

Hi Ferenc,

thanks for sharing your thoughts and ideas. I'd say this is a feature that 
could live in the reimplementation of the rolling file appender. It is an open 
issue for quite a while now but probably the best approach. The feature branch 
for this is 
https://github.com/apache/logging-log4net/tree/feature/RollingFileAppender-NG 
but unfortunately I don't have the spare time to work on this. Would you like 
to pick up that work and continue? I would gladly assist with code reviews and 
help on design decisions.

Cheers

> RollingFileAppender - file compression feature
> ----------------------------------------------
>
>                 Key: LOG4NET-579
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-579
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>            Reporter: Ferenc HORVÁTH
>
> Hi Guys,
> I used _log4j_ in the past, and its {{RollingFileAppender}} has the 
> possibility to compress the rolled file. It would be a nice feature in 
> _log4net_ too, because it is much easier to handle the rolled files in 
> compressed format. After a lot of searching I did not find a built-in 
> solution in _log4net_ for compression, I decided to implement it. I wanted to 
> do it using the {{RollFile}} method, but I was not able to do it, because the 
> {{RollFile}} method is not _virtual_ this time. So the solution was for me: I 
> copied the {{RollingFileAppender}} into a custom namespace, made its 
> {{RollFile}} _virtual_, and wrote a subclass which had a customized 
> {{RollFile}} method. At least a _virtual_ {{RollFile}} method would be useful 
> too.
> Thanks:
> Ferenc



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to