jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1239838 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java
Date Thu, 02 Feb 2012 20:52:11 GMT
Author: pmouawad
Date: Thu Feb  2 20:52:10 2012
New Revision: 1239838

URL: http://svn.apache.org/viewvc?rev=1239838&view=rev
Log:
Log classes so that we can see them in Console Viewer

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java?rev=1239838&r1=1239837&r2=1239838&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java Thu Feb  2 20:52:10 2012
@@ -28,6 +28,7 @@ import org.apache.jmeter.gui.GuiPackage;
 import org.apache.jmeter.gui.tree.JMeterTreeNode;
 import org.apache.jmeter.testelement.TestElement;
 import org.apache.jorphan.logging.LoggingManager;
+import org.apache.log.Logger;
 
 /**
  *
@@ -38,6 +39,7 @@ import org.apache.jorphan.logging.Loggin
  *
  */
 public class What implements Command {
+    private static final Logger log = LoggingManager.getLoggerForClass();
 
     private static final Set<String> commandSet;
 
@@ -57,6 +59,7 @@ public class What implements Command {
             String guiClassName = te.getPropertyAsString(TestElement.GUI_CLASS);
             System.out.println(te.getClass().getName());
             System.out.println(guiClassName);
+            log.info("TestElement:"+te.getClass().getName()+", guiClassName:"+guiClassName);
         } else if (ActionNames.DEBUG_ON.equals(e.getActionCommand())){
             LoggingManager.setPriorityFullName("DEBUG",te.getClass().getName());//$NON-NLS-1$
         } else if (ActionNames.DEBUG_OFF.equals(e.getActionCommand())){



Mime
View raw message