https://bz.apache.org/bugzilla/show_bug.cgi?id=59924
Bug ID: 59924
Summary: The log_level of the jmeter.properties is set to DEBUG
when containing spaces.
Product: JMeter
Version: 3.0
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
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);
--
You are receiving this mail because:
You are the assignee for the bug.