deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject deltaspike git commit: DELTASPIKE-1040 switch back logging to debug
Date Tue, 08 Dec 2015 17:41:45 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master cd6ea39dc -> 080a62e11


DELTASPIKE-1040 switch back logging to debug

This log line really spams us...


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/080a62e1
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/080a62e1
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/080a62e1

Branch: refs/heads/master
Commit: 080a62e1172078204617514f5cce002b1c95169e
Parents: cd6ea39
Author: Mark Struberg <struberg@apache.org>
Authored: Tue Dec 8 18:41:07 2015 +0100
Committer: Mark Struberg <struberg@apache.org>
Committed: Tue Dec 8 18:41:07 2015 +0100

----------------------------------------------------------------------
 .../apache/deltaspike/core/util/ClassDeactivationUtils.java    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/080a62e1/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ClassDeactivationUtils.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ClassDeactivationUtils.java
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ClassDeactivationUtils.java
index 2379ee9..3f6477d 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ClassDeactivationUtils.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ClassDeactivationUtils.java
@@ -29,6 +29,7 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 
 /**
@@ -156,7 +157,10 @@ public abstract class ClassDeactivationUtils
                                     Map<Class<? extends Deactivatable>, Boolean>
activeCache)
     {
         activeCache.put(targetClass, activated);
-        LOG.info("class: " + targetClass.getName() + " activated=" + activated);
+        if (LOG.isLoggable(Level.FINE))
+        {
+            LOG.fine("class: " + targetClass.getName() + " activated=" + activated);
+        }
     }
 
     /**


Mime
View raw message