[jboss-cvs] JBossAS SVN: r81899 - projects/aop/branches/Branch_2_0/aop/src/main/org/jboss/aop/util/logging.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 1 08:48:58 EST 2008
Author: stalep
Date: 2008-12-01 08:48:58 -0500 (Mon, 01 Dec 2008)
New Revision: 81899
Modified:
projects/aop/branches/Branch_2_0/aop/src/main/org/jboss/aop/util/logging/AOPLogger.java
Log:
backported to 2.0 branch from trunk
Modified: projects/aop/branches/Branch_2_0/aop/src/main/org/jboss/aop/util/logging/AOPLogger.java
===================================================================
--- projects/aop/branches/Branch_2_0/aop/src/main/org/jboss/aop/util/logging/AOPLogger.java 2008-12-01 13:41:03 UTC (rev 81898)
+++ projects/aop/branches/Branch_2_0/aop/src/main/org/jboss/aop/util/logging/AOPLogger.java 2008-12-01 13:48:58 UTC (rev 81899)
@@ -64,6 +64,8 @@
{
org.jboss.logging.Logger.setPluginClassName(SystemOutLoggerPlugin.class.getName());
log = org.jboss.logging.Logger.getLogger(clazz);
+ // setting the logger back to NullLogger since we only want jboss classes to use AOPLogger
+ org.jboss.logging.Logger.setPluginClassName(org.jboss.logging.NullLoggerPlugin.class.getName());
}
logger = log;
More information about the jboss-cvs-commits
mailing list