You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/02/11 09:17:06 UTC

svn commit: r1782561 - /jmeter/trunk/xdocs/usermanual/properties_reference.xml

Author: pmouawad
Date: Sat Feb 11 09:17:06 2017
New Revision: 1782561

URL: http://svn.apache.org/viewvc?rev=1782561&view=rev
Log:
Bug 60589 Migrate LogKit to SLF4J - Drop avalon, logkit and excalibur with backward compatibility for 3rd party modules. 
Remove old properties from properties_reference.xml
Bugzilla Id: 60589

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

Modified: jmeter/trunk/xdocs/usermanual/properties_reference.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/properties_reference.xml?rev=1782561&r1=1782560&r2=1782561&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/properties_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/properties_reference.xml Sat Feb 11 09:17:06 2017
@@ -342,96 +342,7 @@ JMETER-SERVER</source>
 </property>
 </properties>
 </section>
-<section name="&sect-num;.9 Logging Configuration" anchor="logging">
-<description>
-    JMeter uses Avalon (Excalibur) LogKit.
-    The Logging Format is described <a href="http://excalibur.apache.org/apidocs/org/apache/log/format/PatternFormatter.html" target="_blank">here</a><br/>
-    Default format:
-    <source>log_format=%{time:yyyy/MM/dd HH:mm:ss} %5.5{priority} - %{category}: %{message} %{throwable}</source>
-    <note><code>\n</code> is automatically added to the end of the string.</note>
-    Predefined formats in the JMeter LoggingManager:
-    <source>#log_format_type=default
-#log_format_type=thread_prefix
-#log_format_type=thread_suffix
-</source>
-    <dl>
-        <dt><code>default</code></dt><dd>is as above.</dd>
-        <dt><code>thread_prefix</code></dt><dd>adds the thread name as a prefix to the category.</dd>
-        <dt><code>thread_suffix</code></dt><dd>adds the thread name as a suffix to the category.</dd>
-    </dl>
-    <note>Thread name is not included by default, as it requires extra processing.</note>
-
-    To change the logging format, define either <code>log_format_type</code> or <code>log_format</code>
-    If both are defined, the type takes precedence.
-    <note>Note that these properties cannot be defined using the <code>-J</code> or <code>-D</code> JMeter
-    command-line flags, as the format will have already been determined by then.
-    However, they can be defined as JVM properties.</note>
-    Logging levels for the logging categories in JMeter.
-    Correct values are:
-    <ul>
-        <li><code>FATAL_ERROR</code></li>
-        <li><code>ERROR</code></li>
-        <li><code>WARN</code></li>
-        <li><code>INFO</code></li>
-        <li><code>DEBUG</code></li>
-    </ul>
-
-    To set the log level for a package or individual class, use:
-<source>
-log_level.[package_name].[classname]=[PRIORITY_LEVEL]
-</source>
-    But omit <code>org.apache</code> from the package name. The classname is optional. Further examples below.
-
-<source>
-log_level.jmeter=INFO
-log_level.jmeter.junit=DEBUG
-log_level.jmeter.control=DEBUG
-log_level.jmeter.testbeans=DEBUG
-log_level.jmeter.engine=DEBUG
-log_level.jmeter.threads=DEBUG
-log_level.jmeter.gui=WARN
-log_level.jmeter.testelement=DEBUG
-log_level.jmeter.util=WARN
-log_level.jmeter.protocol.http=DEBUG
-# For CookieManager, AuthManager etc:
-log_level.jmeter.protocol.http.control=DEBUG
-log_level.jmeter.protocol.ftp=WARN
-log_level.jmeter.protocol.jdbc=DEBUG
-log_level.jmeter.protocol.java=WARN
-log_level.jmeter.testelements.property=DEBUG
-log_level.jorphan=INFO
-</source>
-
-    You can specify a different log file for different categories via:
-    <source>log_file.[category]=[filename]</source>
-    <code>category</code> is equivalent to the package/class names described above.<br/>
-
-    Combined log file (for <code>jmeter</code> and <code>jorphan</code>)
-    <source>log_file=jmeter.log</source>
-
-    To redirect logging to standard output, try the following (it will probably report an error, but output will be to <code>stdout</code>):
-    <source>log_file=</source>
-
-    Or define separate logs if required:
-   <source>log_file.jorphan=jorphan.log
-log_file.jmeter=jmeter.log</source>
-
-    If the filename contains paired single-quotes, then the name is processed as 
-    a <code>SimpleDateFormat</code> format applied to the current date, for example:
-    <source>log_file='jmeter_'yyyyMMddHHmmss'.tmp'</source>
-
-    When JMeter starts, it sets the system property:
-    <code>org.apache.commons.logging.Log</code> to
-    <code>org.apache.commons.logging.impl.LogKitLogger</code>
-    if not already set. This causes Apache and Commons HttpClient to use the same logging as JMeter.<br/>
-
-    Excalibur logging provides the facility to configure logging using configuration files written in XML. This allows for such features as
-    log file rotation, which are not supported directly by JMeter. If such a file is specified, it will be applied to the current logging
-    hierarchy when that has been created.
-    <source>log_config=logkit.xml</source>
-</description>
-</section>
-<section name="&sect-num;.10 HTTP Java configuration" anchor="http_java_config">
+<section name="&sect-num;.9 HTTP Java configuration" anchor="http_java_config">
 <properties>
 <property name="http.java.sampler.retries">
     Number of connection retries performed by HTTP Java sampler before giving up.
@@ -440,7 +351,7 @@ log_file.jmeter=jmeter.log</source>
 </property>
 </properties>
 </section>
-<section name="&sect-num;.11 Commons and Apache HttpClient common properties" anchor="httpclient_common_properties">
+<section name="&sect-num;.10 Commons and Apache HttpClient common properties" anchor="httpclient_common_properties">
 <properties>
 <property name="httpclient.timeout">
     Set the socket timeout (or use the parameter <code>http.socket.timeout</code>) for
@@ -472,7 +383,7 @@ log_file.jmeter=jmeter.log</source>
 </property>
 </properties>
 </section>
-<section name="&sect-num;.12 Kerberos properties" anchor="kerberos">
+<section name="&sect-num;.11 Kerberos properties" anchor="kerberos">
 <properties>
 <property name="kerberos_jaas_application">
     AuthManager Kerberos configuration<br/>
@@ -485,7 +396,7 @@ log_file.jmeter=jmeter.log</source>
 </property>
 </properties>
 </section>
-<section name="&sect-num;.13 Sample logging levels for Commons HttpClient" anchor="log_levels_commons_httpclient">
+<section name="&sect-num;.12 Sample logging levels for Commons HttpClient" anchor="log_levels_commons_httpclient">
 <description>
     Commons HttpClient Logging information can be found at <a href="http://hc.apache.org/httpclient-3.x/logging.html" target="_blank" >Logging</a>
     <note>Note that full category names are used, i.e. must include the <code>org.apache</code>.</note>
@@ -503,7 +414,7 @@ log_file.httpclient=httpclient.log
 </source>
 </description>
 </section>
-<section name="&sect-num;.14 Apache HttpClient logging examples" anchor="httpclient_logging_examples">
+<section name="&sect-num;.13 Apache HttpClient logging examples" anchor="httpclient_logging_examples">
 <description>
     Enable header wire and context logging - Best for Debugging
 <source>
@@ -522,7 +433,7 @@ log_level.org.apache.http.client=DEBUG
 </source>
 </description>
 </section>
-<section name="&sect-num;.15 Apache HttpComponents HTTPClient configuration (HTTPClient4)" anchor="httpclient4">
+<section name="&sect-num;.14 Apache HttpComponents HTTPClient configuration (HTTPClient4)" anchor="httpclient4">
 <properties>
 <property name="hc.parameters.file">
     Define a properties file for overriding Apache HttpClient parameters.<br/>
@@ -554,7 +465,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.16 Apache HttpComponents Commons HTTPClient configuration (HTTPClient 3.1)" anchor="httpclient31">
+<section name="&sect-num;.15 Apache HttpComponents Commons HTTPClient configuration (HTTPClient 3.1)" anchor="httpclient31">
 <properties>
 <property name="httpclient.parameters.file">
     Define a properties file for overriding Commons HttpClient parameters.
@@ -567,7 +478,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.17 HTTP Cache Manager configuration" anchor="cache_maanger">
+<section name="&sect-num;.16 HTTP Cache Manager configuration" anchor="cache_maanger">
 <properties>
 <property name="cacheable_methods">
     Space or comma separated list of methods that can be cached.<br/>
@@ -602,7 +513,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.18 Results file configuration" anchor="results_file_config">
+<section name="&sect-num;.17 Results file configuration" anchor="results_file_config">
 <properties>
 <property name="jmeter.save.saveservice.output_format">
     This section helps determine how result data will be saved.<br/>
@@ -737,7 +648,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.19 Settings that affect SampleResults" anchor="sample_results">
+<section name="&sect-num;.18 Settings that affect SampleResults" anchor="sample_results">
 <properties>
 <property name="sampleresult.timestamp.start">
     Save the start time stamp instead of the end.<br/>
@@ -755,7 +666,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.20 Upgrade" anchor="upgrade">
+<section name="&sect-num;.19 Upgrade" anchor="upgrade">
 <properties>
 <property name="upgrade_properties">
     File that holds a record of name changes for backward compatibility issues.<br/>
@@ -763,7 +674,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.21 JMeter Test Script recorder configuration" anchor="test_script_recorder">
+<section name="&sect-num;.20 JMeter Test Script recorder configuration" anchor="test_script_recorder">
 <properties>
 <property name="proxy.pause">
     <note>N.B. The element was originally called the Proxy recorder, which is why the properties
@@ -839,7 +750,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.22 Test Script Recorder certificate configuration" anchor="test_script_recorder_cert">
+<section name="&sect-num;.21 Test Script Recorder certificate configuration" anchor="test_script_recorder_cert">
 <properties>
 <property name="proxy.cert.directory">
     Defaults to: <em>JMeter <code>bin</code> directory</em>
@@ -874,7 +785,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.23 JMeter Proxy configuration" anchor="proxy_config">
+<section name="&sect-num;.22 JMeter Proxy configuration" anchor="proxy_config">
 <properties>
 <property name="http.proxyDomain">
     Use command-line flags for user-name and password.<br/>
@@ -882,7 +793,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.24 HTML Parser configuration" anchor="parser_config">
+<section name="&sect-num;.23 HTML Parser configuration" anchor="parser_config">
 <properties>
 <property name="HTTPResponse.parsers">
     Space-separated list of parser groups.<br/>
@@ -936,7 +847,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.25 Remote batching configuration" anchor="remote_batching_config">
+<section name="&sect-num;.24 Remote batching configuration" anchor="remote_batching_config">
     <p>
     Configure how SampleResults are sent from server to client when using distributed testing.
     </p>
@@ -1027,7 +938,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.26 JDBC Request configuration" anchor="jdbc_request">
+<section name="&sect-num;.25 JDBC Request configuration" anchor="jdbc_request">
 <properties>
 <property name="jdbcsampler.nullmarker">
     String used to indicate a null value.<br/>
@@ -1039,7 +950,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.27 OS Process Sampler configuration" anchor="os_sampler">
+<section name="&sect-num;.26 OS Process Sampler configuration" anchor="os_sampler">
 <properties>
 <property name="os_sampler.poll_for_timeout">
     Polling to see if process has finished its work, used when a timeout
@@ -1048,7 +959,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.28 TCP Sampler configuration" anchor="tcp_sampler">
+<section name="&sect-num;.27 TCP Sampler configuration" anchor="tcp_sampler">
 <properties>
 <property name="tcp.handler">
     The default handler class.<br/>
@@ -1079,7 +990,7 @@ log_level.org.apache.http.client=DEBUG
     Defaults to: <code>2</code></property>
 </properties>
 </section>
-<section name="&sect-num;.29 Summariser - Generate Summary Results - configuration (mainly applies to non-GUI mode)" anchor="summariser">
+<section name="&sect-num;.28 Summariser - Generate Summary Results - configuration (mainly applies to non-GUI mode)" anchor="summariser">
 <properties>
 <property name="summariser.name">
     Comment the following property to disable the default non-GUI summariser.<br/>
@@ -1105,7 +1016,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.30 Aggregate Report and Aggregate Graph - configuration" anchor="aggregate_report_graph">
+<section name="&sect-num;.29 Aggregate Report and Aggregate Graph - configuration" anchor="aggregate_report_graph">
 <properties>
 <property name="aggregate_rpt_pct1">
     Percentiles to display in reports.<br/>
@@ -1125,7 +1036,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.31 BackendListener - configuration" anchor="backend">
+<section name="&sect-num;.30 BackendListener - configuration" anchor="backend">
 <properties>
 <property name="backend_metrics_window">
     Backend metrics sliding window size for <code>Percentiles</code>, <code>Min</code>
@@ -1143,7 +1054,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.32 BeanShell configuration" anchor="beanshell">
+<section name="&sect-num;.31 BeanShell configuration" anchor="beanshell">
 <properties>
 <property name="beanshell.server.port">
     BeanShell Server properties.<br/>
@@ -1188,7 +1099,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.33 MailerModel configuration" anchor="mailer">
+<section name="&sect-num;.32 MailerModel configuration" anchor="mailer">
 <properties>
 <property name="mailer.successlimit">
     The file <code>BeanShellListeners.bshrc</code> contains sample definitions
@@ -1202,7 +1113,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.34 CSVRead configuration" anchor="csv">
+<section name="&sect-num;.33 CSVRead configuration" anchor="csv">
 <properties>
 <property name="csvread.delimiter">
     CSVRead delimiter setting (default "<code>,</code>").<br/>
@@ -1212,7 +1123,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.35 __time() function configuration" anchor="time">
+<section name="&sect-num;.34 __time() function configuration" anchor="time">
 <properties>
 <property name="time.YMD">
     This and the following properties can be used to redefine the default time formats.<br/>
@@ -1232,7 +1143,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.36 CSV DataSet configuration" anchor="csv_dataset">
+<section name="&sect-num;.35 CSV DataSet configuration" anchor="csv_dataset">
 <properties>
 <property name="csvdataset.eofstring">
     String to return at <abbr title="end of file"><code>EOF</code></abbr> (if recycle not used).<br/>
@@ -1240,7 +1151,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.37 LDAP Sampler configuration" anchor="ldap">
+<section name="&sect-num;.36 LDAP Sampler configuration" anchor="ldap">
 <properties>
 <property name="ldapsampler.max_sorted_results">
     Maximum number of search results returned by a search that will be sorted
@@ -1268,7 +1179,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.38 Miscellaneous configuration" anchor="miscellaneous">
+<section name="&sect-num;.37 Miscellaneous configuration" anchor="miscellaneous">
 <properties>
 <property name="monitor.buffer.size">
     To set the Monitor Health Visualiser buffer size, enter the desired value.<br/>
@@ -1499,7 +1410,7 @@ log_level.org.apache.http.client=DEBUG
     Defaults to: <code>100</code></property>
 </properties>
 </section>
-<section name="&sect-num;.39 Classpath configuration" anchor="classpath">
+<section name="&sect-num;.38 Classpath configuration" anchor="classpath">
 <properties>
 <property name="search_paths">
     List of directories (separated by <code>;</code>) to search for additional
@@ -1543,7 +1454,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.40 Reporting configuration" anchor="reporting">
+<section name="&sect-num;.39 Reporting configuration" anchor="reporting">
 <properties>
 <property name="jmeter.reportgenerator.apdex_satisfied_threshold">
     Sets the satisfaction threshold for the APDEX calculation (in milliseconds).<br/>
@@ -1754,7 +1665,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.41 Additional property files to load" anchor="properties">
+<section name="&sect-num;.40 Additional property files to load" anchor="properties">
 <properties>
 <property name="user.properties">
     Should JMeter automatically load additional JMeter properties?<br/>
@@ -1773,7 +1684,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.42 Thread Group Validation feature" anchor="validation">
+<section name="&sect-num;.41 Thread Group Validation feature" anchor="validation">
 <description>Validation is the name of the feature used to rapidly validate a Thread Group runs fine</description>
 <properties>
 <property name="testplan_validation.tree_cloner_class">
@@ -1806,7 +1717,7 @@ log_level.org.apache.http.client=DEBUG
 </property>
 </properties>
 </section>
-<section name="&sect-num;.43 Timer related feature" anchor="timer">
+<section name="&sect-num;.42 Timer related feature" anchor="timer">
 <description>Timer are used to introduce think time in your plan.</description>
 <properties>
 <property name="timer.factor">
@@ -1839,7 +1750,7 @@ log_level.org.apache.http.client=DEBUG
 <a href="#">^</a>
 </section>
 
-<section name="&sect-num;.44 Naming Policy" anchor="naming_policy">
+<section name="&sect-num;.43 Naming Policy" anchor="naming_policy">
 <description>Timer are used to introduce think time in your plan.</description>
 <properties>
 <property name="naming_policy.prefix">