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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/03/31 05:38:25 UTC

[jira] [Comment Edited] (LOG4J2-1336) LoggerFactory in 1.2 API module is not compatible with 1.2

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

Gary Gregory edited comment on LOG4J2-1336 at 3/31/16 3:37 AM:
---------------------------------------------------------------

Pushed modified patch to Git master. 

TODO: Agree on an interface name: I used {{LoggerFactoryBridge}} instead of {{LoggerFactoryContexted}}.

Please verify and note here if this issue can be closed.

Gary


was (Author: garydgregory):
Pushed modified patch to Git master. 

TODO: Agree on an interface name: I used {{LoggerFactoryBridge}} instead of {{LoggerFactoryContexted}}.

Gary

> LoggerFactory in 1.2 API module is not compatible with 1.2
> ----------------------------------------------------------
>
>                 Key: LOG4J2-1336
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1336
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: log4j 1.2 emulation
>    Affects Versions: 2.5
>            Reporter: Zbynek Vyskovsky
>              Labels: patch
>             Fix For: 2.6
>
>         Attachments: log4j-1.2-compatible-factory.diff
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> LoggerFactory from log4j 1.2 compatibility layer is not compatible with the original 1.2 version. Therefore software which creates its customized loggers is failing due to AbstractMethodError error.
> The fix is quite simple - just keep the original interface. The attached patch continues to support the current method too, but uses different interface name for the functionality so it doesn't clash with 1.2 API.



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