I am just getting started with Jmeter and at this point nearly everything I try fails due to my mistakes. Unfortunately the failures are essentially silent; I don't see anything in the GUI. I would like the option of having the JMeter GUI provide a log viewer, much like the console viewer in Eclipse, and have that viewer contain all the lines that JMeter merrily writes to its jmeter.log file. This would be an enormous help for beginners like me. This option could be off by default if that helps for performance reasons. I agree with your approach of never having the GUI put up an error dialog, of course not, but a viewer would be great. Thanks for listening.
Created attachment 28184 [details] Implementation Hello Sebb, Milamber, Rainer, I implemented this feature. It works like this: - A jmeter property called jmeter.loggerPanel.display (defaults to false) enables a new panel - If set to true, a LogTarget will be installed to get Log Events that will be displayed in the Panel - A new menu option enables the user to enable/disable the panel - If enabled Log Events are displayed - If disabled they are ignored (so no perfs impacts) I attach screenshot. There is still a little issue, when I enable the Panel after disabling it, it does not resize itself (if you know the method to call, it will help).
Created attachment 28185 [details] Screenshot
Date: Sun Jan 22 10:46:11 2012 New Revision: 1234478 URL: http://svn.apache.org/viewvc?rev=1234478&view=rev Log: Bug 41788 - Log viewer (console window) needed as an option Added: jmeter/trunk/src/core/org/apache/jmeter/gui/LoggerPanel.java (with props) jmeter/trunk/src/core/org/apache/jmeter/gui/action/LoggerPannelEnableDisable.java (with props) Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionNames.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterMenuBar.java jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java jmeter/trunk/xdocs/changes.xml
Added a jmeter property to limit the number of characters in the log window Fixed issue with resizing after enable
Date: Sun Jan 22 10:50:56 2012 New Revision: 1234480 URL: http://svn.apache.org/viewvc?rev=1234480&view=rev Log: Bug 41788 - Log viewer (console window) needed as an option Set disabled by default and limit to 80000 characters Modified: jmeter/trunk/bin/jmeter.properties
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1880