Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a UI menu to set log level #4255

Closed
asfimport opened this issue Jan 30, 2017 · 6 comments
Closed

Add a UI menu to set log level #4255

asfimport opened this issue Jan 30, 2017 · 6 comments

Comments

@asfimport
Copy link
Collaborator

Woonsan Ko (Bug 60664):
At the moment, users change the log level in either logging configuration file or command line argument (e.g, -L DEBUG).
It would be nice if it is possible to change the log level at runtime through a menu item.

OS: All

Depends on:

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
+1 .
Note there is also a way by selecting element and using menu Help > Enable Debug which will switch element log level to debug

@asfimport
Copy link
Collaborator Author

Woonsan Ko (migrated from Bugzilla):
(In reply to Philippe Mouawad from comment 1)

+1 .
Note there is also a way by selecting element and using menu Help > Enable
Debug which will switch element log level to debug
Thanks for the pointer!
I've pushed more in #254 to restore the features (Help > En(Dis)able Debug menu items).
BTW, the menu items en(dis)able debug log level on the currently selected test element class FQCN category, which is a bit ambiguous (to me at least). So, I added info logging when en(dis)abling log levels with the menu items.

@asfimport
Copy link
Collaborator Author

Woonsan Ko (migrated from Bugzilla):
Created attachment jmeter_log_level_menu.png: Log Level menu to set level to DEBUG for example

Log Level menu to set level to DEBUG for example

@asfimport
Copy link
Collaborator Author

Woonsan Ko (migrated from Bugzilla):
Created attachment jmeter_log_level_menu2.png: Logs showing DEBUG level after changing it to DEBUG (from INFO, the default level) as an example

Logs showing DEBUG level after changing it to DEBUG (from INFO, the default level) as an example

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Author: pmouawad
Date: Tue Feb 14 20:46:40 2017
New Revision: 1783025

URL: http://svn.apache.org/viewvc?rev=1783025&view=rev
Log:
#4255 - Add a UI menu to set log level
Contributed by Woonsan Ko
This closes #275
#4255

Added:
jmeter/trunk/src/core/org/apache/jmeter/gui/action/LogLevelCommand.java (with props)
Modified:
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/xdocs/changes.xml

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Author: pmouawad
Date: Tue Feb 14 20:48:52 2017
New Revision: 1783027

URL: http://svn.apache.org/viewvc?rev=1783027&view=rev
Log:
#4280 - OOM on BackendListener with TIME box mode
#4280

Modified:
jmeter/trunk/bin/jmeter.properties
jmeter/trunk/xdocs/usermanual/properties_reference.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant