You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2013/11/29 17:35:49 UTC

[Bug 55830] New: Extending RollingFileAppender is awkward

https://issues.apache.org/bugzilla/show_bug.cgi?id=55830

            Bug ID: 55830
           Summary: Extending RollingFileAppender is awkward
           Product: Log4j
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
          Assignee: log4j-dev@logging.apache.org
          Reporter: john@assen.demon.co.uk

The RollingFileAppender class in Log4j 1.2 defines "nextRollover" as private.
This causes issues with extension, e.g. to use a different file naming
strategy, because the rollOver() function directly modifies the value of
nextRollover and it's likely that any override of that function would also need
to modify it.

To overcome this issue "nextRollover" should be changed to have protected
visibility.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[Bug 55830] Extending RollingFileAppender is awkward

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55830

John McCabe <jo...@assen.demon.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john@assen.demon.co.uk
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org