tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kma...@apache.org
Subject svn commit: r582361 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/Logger.java
Date Fri, 05 Oct 2007 17:45:24 GMT
Author: kmalhi
Date: Fri Oct  5 10:45:24 2007
New Revision: 582361

URL: http://svn.apache.org/viewvc?rev=582361&view=rev
Log:
Renamed getLogger method to getChildLogger.
Also fixed a bug in getChildLogger in that it was not returning a child of the current Logger.

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/Logger.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/Logger.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/Logger.java?rev=582361&r1=582360&r2=582361&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/Logger.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/Logger.java
Fri Oct  5 10:45:24 2007
@@ -334,8 +334,8 @@
         return name.substring(0, name.lastIndexOf("."));
     }
 
-    public Logger getLogger(String moduleId) {
-        return Logger.getInstance(this.category, this.baseName);
+    public Logger getChildLogger(String child) {
+        return Logger.getInstance(this.category.createChild(child), this.baseName);
 
     }
 



Mime
View raw message