You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/02/02 21:52:11 UTC
svn commit: r1239838 -
/jmeter/trunk/src/core/org/apache/jmeter/gui/action/What.java
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())){