jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1340204 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
Date Fri, 18 May 2012 18:45:40 GMT
Author: sebb
Date: Fri May 18 18:45:39 2012
New Revision: 1340204

URL: http://svn.apache.org/viewvc?rev=1340204&view=rev
Log:
Reduce logging level

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java?rev=1340204&r1=1340203&r2=1340204&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
Fri May 18 18:45:39 2012
@@ -55,15 +55,19 @@ public class SamplerCreatorFactory {
                     new Class[] {SamplerCreator.class }); 
             for (String strClassName : listClasses) {
                 try {
-                    log.info("Loading class:"+ strClassName);
+                    if(log.isDebugEnabled()) {
+                        log.debug("Loading class: "+ strClassName);
+                    }
                     Class<?> commandClass = Class.forName(strClassName);
                     if (!Modifier.isAbstract(commandClass.getModifiers())) {
-                            log.info("Instantiating :"+ commandClass.getName());
+                        if(log.isDebugEnabled()) {
+                            log.debug("Instantiating: "+ commandClass.getName());
+                        }
                             SamplerCreator creator = (SamplerCreator) commandClass.newInstance();
                             String[] contentTypes = creator.getManagedContentTypes();
                             for (String contentType : contentTypes) {
-                                if(log.isInfoEnabled()) {
-                                    log.info("Registering samplerCreator "+commandClass.getName()+"
for content type:"+contentType);
+                                if(log.isDebugEnabled()) {
+                                    log.debug("Registering samplerCreator "+commandClass.getName()+"
for content type:"+contentType);
                                 }
                                 samplerCreatorMap.put(contentType, creator);
                             }                        



Mime
View raw message