For example, when I set the jmeter log_levl with extra spaces before or after INFO,the log_level for org.apache.jmeter will be set to debug. log_level.jmeter= INFO Do you consider add the trim() function for the appProperties? Thanks. @@ -208,7 +208,7 @@ public final class LoggingManager { // don't match the empty category { String category = prop.substring(LOG_PRIORITY.length() + 1); - setPriority(appProperties.getProperty(prop), category); + setPriority(appProperties.getProperty(prop).trim(), category); } if (prop.startsWith(LOG_FILE + ".")) { //$NON_NLS-1$ String category = prop.substring(LOG_FILE.length() + 1);
Author: pmouawad Date: Tue Aug 2 20:27:19 2016 New Revision: 1755002 URL: http://svn.apache.org/viewvc?rev=1755002&view=rev Log: Bug 59924 - The log level of XXX package is set to DEBUG if log_level.XXXX property value contains spaces, same for __log function Bugzilla Id: 59924 Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/LogFunction.java jmeter/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4034