logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55830] New: Extending RollingFileAppender is awkward
Date Fri, 29 Nov 2013 16:35:49 GMT
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


Mime
View raw message