You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/08/02 08:16:14 UTC
[Bug 59924] New: The log_level of the jmeter.properties is set to
DEBUG when containing spaces.
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: issues@jmeter.apache.org
Reporter: sc.yiwei@gmail.com
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.
[Bug 59924] The log_level of the jmeter.properties is set to DEBUG
when containing spaces.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59924
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
CC| |p.mouawad@ubik-ingenierie.c
| |om
OS| |All
Hardware|PC |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59924] The log level of XXX package is set to DEBUG if
log_level.XXXX property value contains spaces, same for __log function
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59924
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59924] The log level of XXX package is set to DEBUG if
log_level.XXXX property contains spaces, same for __log function
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59924
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|The log_level of the |The log level of XXX
|jmeter.properties is set to |package is set to DEBUG if
|DEBUG if value contains |log_level.XXXX property
|spaces, same for __log |contains spaces, same for
|function |__log function
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59924] The log_level of the jmeter.properties is set to DEBUG
if value contains spaces, same for __log function
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59924
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|The log_level of the |The log_level of the
|jmeter.properties is set to |jmeter.properties is set to
|DEBUG when containing |DEBUG if value contains
|spaces. |spaces, same for __log
| |function
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59924] The log level of XXX package is set to DEBUG if
log_level.XXXX property value contains spaces, same for __log function
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59924
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|The log level of XXX |The log level of XXX
|package is set to DEBUG if |package is set to DEBUG if
|log_level.XXXX property |log_level.XXXX property
|contains spaces, same for |value contains spaces, same
|__log function |for __log function
--
You are receiving this mail because:
You are the assignee for the bug.