You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/12/10 03:27:44 UTC
svn commit: r1044201 - /jakarta/jmeter/trunk/bin/jmeter.properties
Author: sebb
Date: Fri Dec 10 02:27:43 2010
New Revision: 1044201
URL: http://svn.apache.org/viewvc?rev=1044201&view=rev
Log:
Document Apache HttpClient logging
Modified:
jakarta/jmeter/trunk/bin/jmeter.properties
Modified: jakarta/jmeter/trunk/bin/jmeter.properties
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/jmeter.properties?rev=1044201&r1=1044200&r2=1044201&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/jmeter.properties (original)
+++ jakarta/jmeter/trunk/bin/jmeter.properties Fri Dec 10 02:27:43 2010
@@ -157,7 +157,7 @@ remote_hosts=127.0.0.1
# Logging Configuration
#---------------------------------------------------------------------------
-# Note: JMeter uses Avalon LogKit
+# Note: JMeter uses Avalon (Excalibur) LogKit
# Logging Format
# see http://avalon.apache.org/logkit/api/org/apache/log/format/PatternFormatter.html
@@ -226,6 +226,22 @@ log_level.jorphan=INFO
# as a SimpleDateFormat format applied to the current date, for example:
#log_file='jmeter_'yyyyMMddHHmmss'.tmp'
+# N.B. When JMeter starts, it sets the system property:
+# org.apache.commons.logging.Log
+# to
+# org.apache.commons.logging.impl.LogKitLogger
+# if not already set. This causes Apache and Commons HttpClient to use the same logging as JMeter
+
+# Further logging configuration
+# 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 specified, it will be applied to the current logging
+# hierarchy when that has been created.
+#
+#log_config=logkit.xml
+
#---------------------------------------------------------------------------
# HTTP Java configuration
#---------------------------------------------------------------------------
@@ -238,10 +254,17 @@ log_level.jorphan=INFO
# HTTPClient configuration
#---------------------------------------------------------------------------
-# define a properties file for overriding httpclient parameters
+# define a properties file for overriding Commons HttpClient parameters
# See: http://hc.apache.org/httpclient-3.x/preference-api.html
#httpclient.parameters.file=httpclient.parameters
+
+# define a properties file for overriding Apache HttpClient parameters
+# See: TBA
+#hc.parameters.file=httpclient.parameters
+
+# Following properties apply to both Commons and Apache HttpClient
+
# set the socket timeout (or use the parameter http.socket.timeout)
# Value is in milliseconds
#httpclient.timeout=0
@@ -260,7 +283,11 @@ log_level.jorphan=INFO
# Define the local host address to be used for multi-homed hosts
#httpclient.localaddress=1.2.3.4
-# Sample logging levels for HttpClient
+# Sample logging levels for Commons HttpClient
+#
+# Commons HttpClient Logging information can be found at:
+# http://hc.apache.org/httpclient-3.x/logging.html
+
# Note that full category names are used, i.e. must include the org.apache.
# Info level produces no output:
#log_level.org.apache.commons.httpclient=debug
@@ -274,25 +301,24 @@ log_level.jorphan=INFO
#log_level.httpclient.wire=debug
#log_file.httpclient=httpclient.log
-# Further logging configuration
-# 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 specified, it will be applied to the current logging
-# hierarchy when that has been created.
-#
-#log_config=logkit.xml
-# HttpClient Logging information can be found at:
-# http://jakarta.apache.org/httpcomponents/httpclient-3.x/logging.html
-
-# N.B. When JMeter starts, it sets the system property:
-# org.apache.commons.logging.Log
-# to
-# org.apache.commons.logging.impl.LogKitLogger
-# if not already set. This causes HttpClient to use the same logging as JMeter
+# Apache HttpClient logging examples
#
+# Enable header wire + context logging - Best for Debugging
+#log_level.org.apache.http=DEBUG
+#log_level.org.apache.http.wire=ERROR
+
+# Enable full wire + context logging
+#log_level.org.apache.http=DEBUG
+
+# Enable context logging for connection management
+#log_level.org.apache.http.impl.conn=DEBUG
+
+# Enable context logging for connection management / request execution
+#log_level.org.apache.http.impl.conn=DEBUG
+#log_level.org.apache.http.impl.client=DEBUG
+#log_level.org.apache.http.client=DEBUG
+
#---------------------------------------------------------------------------
# Results file configuration
#---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org