Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 52648 invoked from network); 20 Feb 2009 20:57:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 20:57:47 -0000 Received: (qmail 9351 invoked by uid 500); 20 Feb 2009 20:57:46 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 9331 invoked by uid 500); 20 Feb 2009 20:57:46 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 9320 invoked by uid 99); 20 Feb 2009 20:57:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 12:57:46 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 20:57:38 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LacQv-00040T-QV for httpclient-users@hc.apache.org; Fri, 20 Feb 2009 12:57:17 -0800 Message-ID: <22128473.post@talk.nabble.com> Date: Fri, 20 Feb 2009 12:57:17 -0800 (PST) From: Pilot77 To: httpclient-users@hc.apache.org Subject: Wire logging of xmlrpc puts each character on separate line MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: speterson@listpilot.com X-Virus-Checked: Checked by ClamAV on apache.org I am using Simple Log in HttpClient 3.1 to log wire activity, but every character in the header appears on a separate line. As you can see, after the header, the logging begins normally although about half the time, it continues with each character on a separate line. Any ideas on how to make the Logging work properly? INITIALIZE: System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug"); System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "info"); LOGGING OUTPUT: [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]" [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]" [DEBUG] header - << "Date: Fri, 20 Feb 2009 20:36:31 GMT[\r][\n]" [DEBUG] header - << "Server: Apache/2.0.52 (Red Hat)[\r][\n]" [DEBUG] header - << "X-Powered-By: PHP/5.2.6[\r][\n]" [DEBUG] header - << "Expires: Sun, 19 Nov 1978 05:00:00 GMT[\r][\n]" [DEBUG] header - << "Last-Modified: Fri, 20 Feb 2009 20:36:31 GMT[\r][\n]" [DEBUG] header - << "Cache-Control: store, no-cache, must-revalidate[\r][\n]" [DEBUG] header - << "Cache-Control: post-check=0, pre-check=0[\r][\n]" [DEBUG] header - << "Connection: close[\r][\n]" [DEBUG] header - << "Content-Length: 4167[\r][\n]" [DEBUG] header - << "Content-Type: text/xml[\r][\n]" [DEBUG] header - << "[\r][\n]" [WARN] HttpMethodBase - Cookie rejected: "$Version=0; SESSfd0930d0241a430effd4144305fd2671=aqnc7414p3do5spie84n2gar75; $Path=/; xx.xx.xx" [DEBUG] content - << "<" [DEBUG] content - << "?" [DEBUG] content - << "x" [DEBUG] content - << "m" [DEBUG] content - << "l" [DEBUG] content - << " " [DEBUG] content - << "v" [DEBUG] content - << "e" [DEBUG] content - << "r" [DEBUG] content - << "s" [DEBUG] content - << "i" [DEBUG] content - << "o" [DEBUG] content - << "n" [DEBUG] content - << "=" [DEBUG] content - << """ [DEBUG] content - << "1" [DEBUG] content - << "." [DEBUG] content - << "0" [DEBUG] content - << """ [DEBUG] content - << "?" [DEBUG] content - << ">" [DEBUG] content - << "[\n]" [DEBUG] content - << "[\n]" [DEBUG] content - << "[\n]" [DEBUG] content - << " [\n]" [DEBUG] content - << " [\n]" [DEBUG] content - << " [\n]" [DEBUG] content - << " [\n]" [DEBUG] content - << " externalIdcid_cotton[\n]" [DEBUG] content - << " contentTypedirectory_entry[\n]" ... -- View this message in context: http://www.nabble.com/Wire-logging-of-xmlrpc-puts-each-character-on-separate-line-tp22128473p22128473.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org