geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r463534 - /geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/util/MavenPluginLog.java
Date Fri, 13 Oct 2006 00:46:41 GMT
Author: jdillon
Date: Thu Oct 12 17:46:41 2006
New Revision: 463534

URL: http://svn.apache.org/viewvc?view=rev&rev=463534
Log:
Disable trace output as debug, it is way to verbose

Modified:
    geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/util/MavenPluginLog.java

Modified: geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/util/MavenPluginLog.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/util/MavenPluginLog.java?view=diff&rev=463534&r1=463533&r2=463534
==============================================================================
--- geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/util/MavenPluginLog.java
(original)
+++ geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/util/MavenPluginLog.java
Thu Oct 12 17:46:41 2006
@@ -72,7 +72,12 @@
     }
 
     public boolean isTraceEnabled() {
-        return getLog().isDebugEnabled();
+        //
+        // FIXME: Trace is way to verbose to allow it to be turned on with debug
+        //        Maybe add a custom system prop to enable this
+        //
+        // return getLog().isDebugEnabled();
+        return false;
     }
 
     public boolean isWarnEnabled() {
@@ -89,11 +94,15 @@
     }
     
     public void trace(Object object) {
-        debug(object);
+        if (isTraceEnabled()) {
+            debug(object);
+        }
     }
 
     public void trace(Object object, Throwable throwable) {
-        debug(object, throwable);
+        if (isTraceEnabled()) {
+            debug(object, throwable);
+        }
     }
 
     public void debug(Object object) {



Mime
View raw message