You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Scott Mitchell (JIRA)" <ji...@apache.org> on 2010/03/06 01:25:27 UTC

[jira] Created: (LOG4NET-249) Please make "RollFile" virtual so that we can enhance rolling strategies

Please make "RollFile" virtual so that we can enhance rolling strategies
------------------------------------------------------------------------

                 Key: LOG4NET-249
                 URL: https://issues.apache.org/jira/browse/LOG4NET-249
             Project: Log4net
          Issue Type: New Feature
          Components: Appenders
    Affects Versions: 1.2.10
         Environment: All
            Reporter: Scott Mitchell


I enhanced the RollingFileAppender so that you can roll to S3 (I call it RollingS3FileAppender). Right now, I have to duplicate all of the RollingFileAppender code because the RollFile method is not virtual.

Can this be worked into the next build?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LOG4NET-249) Please make "RollFile" virtual so that we can enhance rolling strategies

Posted by "Scott Mitchell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850740#action_12850740 ] 

Scott Mitchell commented on LOG4NET-249:
----------------------------------------

After trying to work with the RollingFileAppender, I decided that it would be "cleaner" to just write an S2Appender based on the AppenderSkeleton. Source code is available here:

http://s3appender.codeplex.com/

> Please make "RollFile" virtual so that we can enhance rolling strategies
> ------------------------------------------------------------------------
>
>                 Key: LOG4NET-249
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-249
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Scott Mitchell
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I enhanced the RollingFileAppender so that you can roll to S3 (I call it RollingS3FileAppender). Right now, I have to duplicate all of the RollingFileAppender code because the RollFile method is not virtual.
> Can this be worked into the next build?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LOG4NET-249) Please make "RollFile" virtual so that we can enhance rolling strategies

Posted by "Scott Mitchell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Mitchell updated LOG4NET-249:
-----------------------------------

    Description: 
I enhanced the RollingFileAppender so that you can roll to S3 (I call it RollingS3FileAppender). Right now, I have to duplicate all of the RollingFileAppender code because the RollFile method is not virtual.

Can this be worked into the next build?

NOTE: After trying to work with the RollingFileAppender, I decided that it would be "cleaner" to just write an S2Appender based on the AppenderSkeleton. Source code is available here:

http://s3appender.codeplex.com/

  was:
I enhanced the RollingFileAppender so that you can roll to S3 (I call it RollingS3FileAppender). Right now, I have to duplicate all of the RollingFileAppender code because the RollFile method is not virtual.

Can this be worked into the next build?


> Please make "RollFile" virtual so that we can enhance rolling strategies
> ------------------------------------------------------------------------
>
>                 Key: LOG4NET-249
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-249
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Scott Mitchell
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I enhanced the RollingFileAppender so that you can roll to S3 (I call it RollingS3FileAppender). Right now, I have to duplicate all of the RollingFileAppender code because the RollFile method is not virtual.
> Can this be worked into the next build?
> NOTE: After trying to work with the RollingFileAppender, I decided that it would be "cleaner" to just write an S2Appender based on the AppenderSkeleton. Source code is available here:
> http://s3appender.codeplex.com/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.