You are viewing a plain text version of this content. The canonical link for it is here.
Posted to portalapps-dev@portals.apache.org by wo...@apache.org on 2009/10/30 12:12:43 UTC

svn commit: r831263 - /portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/classes/log4j.properties

Author: woonsan
Date: Fri Oct 30 11:12:43 2009
New Revision: 831263

URL: http://svn.apache.org/viewvc?rev=831263&view=rev
Log:
APA-18: Adding httpclient logging configuration

Modified:
    portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/classes/log4j.properties

Modified: portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/classes/log4j.properties
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/classes/log4j.properties?rev=831263&r1=831262&r2=831263&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/classes/log4j.properties (original)
+++ portals/applications/webcontent/trunk/webcontent-war/src/main/webapp/WEB-INF/classes/log4j.properties Fri Oct 30 11:12:43 2009
@@ -35,6 +35,12 @@
 log4j.category.velocity = ERROR, velocity
 log4j.additivity.velocity = false
 
+#
+# HTTP Client
+#
+log4j.category.org.apache.http = ERROR, httpclient
+log4j.category.org.apache.http.wire = ERROR, httpclient
+
 ########################################################################
 #
 # Logfile definitions
@@ -58,3 +64,12 @@
 log4j.appender.velocity.layout = org.apache.log4j.PatternLayout
 log4j.appender.velocity.layout.conversionPattern = %d [%t] %-5p %c - %m%n
 log4j.appender.velocity.append = false
+
+#
+# webcontent-httpclient.log
+#
+log4j.appender.httpclient = org.apache.log4j.FileAppender
+log4j.appender.httpclient.file = ${org.apache.portals.logdir}/webcontent-httpclient.log
+log4j.appender.httpclient.layout = org.apache.log4j.PatternLayout
+log4j.appender.httpclient.layout.conversionPattern = %d [%t] %-5p %c - %m%n
+log4j.appender.httpclient.append = false