[jboss-jira] [JBoss JIRA] (JGRP-1585) Upgrade log4j
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri Mar 15 08:41:41 EDT 2013
[ https://issues.jboss.org/browse/JGRP-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761341#comment-12761341 ]
Bela Ban commented on JGRP-1585:
--------------------------------
jboss-logging:
* meta-logging framework, does the same as what JGroups org.jgroups.logging already does
* Easy to use
** Provides logging adapters for JBoss, log4j, JUL and slf4j
** Does *not* provide adapter for log4j2 or logback
I think I'm going to go with log4j2 for now, with the following changes:
* Hack support for setting the level at runtime
* Use only the CORE JAR and copy the relevant part of the API JAR (creation of loggers) into JGroups's Log4j2LogImpl
> Upgrade log4j
> -------------
>
> Key: JGRP-1585
> URL: https://issues.jboss.org/browse/JGRP-1585
> Project: JGroups
> Issue Type: Task
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 3.4
>
>
> log4j has some heavy synchronization, which can sometimes lead to code blocking up to 30 seconds (see [1]).
> Investigate whether we should switch to log42 [2]. Perhaps we can simply program against the API (30K) and not even ship the implementation ?
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=51047
> [2] http://logging.apache.org/log4j/2.x/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list