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] [Comment Edited] (LOG4J2-1547) The Core AbstractConfiguration should track its LoggerContext and add Configuration.getLoggerContext()
Date Thu, 25 Aug 2016 22:52:20 GMT

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

Gary Gregory edited comment on LOG4J2-1547 at 8/25/16 10:51 PM:
----------------------------------------------------------------

Hi,

WRT "We could remove the deprecated methods in 2.8 or 2.9, thus giving people time to migrate
their configurations", I do not think that quite makes sense: Either (1) a method is deprecated
and removed in the next major version, or, (2) it goes away before a major release or and
breaks BC, so "giving people time" does not do anything, it just delays the breakage, which
will happen anyway in case 2, and we have no control of which version folks will move from
and to. But... if you think some ctors are that important, then I'm all ears ;-)

G


was (Author: garydgregory):
Hi,

WRT "We could remove the deprecated methods in 2.8 or 2.9, thus giving people time to migrate
their configurations", I do not think that quite makes sense: Either (1) a method is deprecated
and removed in the next major version, or, (2) it goes away before a major release or and
breaks BC, so "giving people time" does not do anything, it just delays the breakage, which
will happen anyway in case 2, and we have no control of which version folks will move from
and to.

G

> The Core AbstractConfiguration should track its LoggerContext and add Configuration.getLoggerContext()
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1547
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1547
>             Project: Log4j 2
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>         Attachments: logging-log4j2.patch
>
>
> The class in Core, {{AbstractConfiguration}}, should track its {{LoggerContext}} and
provide it with a new API {{Configuration.getLoggerContext()}}.



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