logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LOG4J2-1168) Add getters for source and destination file in file rename action
Date Sat, 24 Oct 2015 01:19:27 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory closed LOG4J2-1168.
--------------------------------
       Resolution: Fixed
         Assignee: Gary Gregory
    Fix Version/s: 2.5

Added getters for all ivars. In Git master now.

> Add getters for source and destination file in file rename action
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-1168
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1168
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders, Core
>            Reporter: Steven Swor
>            Assignee: Gary Gregory
>            Priority: Minor
>             Fix For: 2.5
>
>
> I'm building a Spring Integration module which leverages log4j2's RollingFileAppender
to publish messages whenever the file rolls.
> However, since the FileRenameAction's source and destination files are private and have
no getters, I've had to extend that class and copy all of the code DefaultRolloverStrategy
to make my implementation work. Since there's a lot of logic in DefaultRolloverStrategy I'd
prefer to use the one that ships with log4j, rather than maintaining a fork of the class.
> I'll open a pull request on GitHub shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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