You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/03/11 18:28:21 UTC
svn commit: r1080687 - in /cxf/branches/2.3.x-fixes: ./
rt/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
Author: dkulp
Date: Fri Mar 11 17:28:21 2011
New Revision: 1080687
URL: http://svn.apache.org/viewvc?rev=1080687&view=rev
Log:
Merged revisions 1080643 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1080643 | dkulp | 2011-03-11 11:30:09 -0500 (Fri, 11 Mar 2011) | 1 line
Log the full URL and query params
........
Modified:
cxf/branches/2.3.x-fixes/ (props changed)
cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java?rev=1080687&r1=1080686&r2=1080687&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java (original)
+++ cxf/branches/2.3.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java Fri Mar 11 17:28:21 2011
@@ -110,9 +110,13 @@ public class LoggingInInterceptor extend
if (headers != null) {
buffer.getHeader().append(headers);
}
- String uri = (String)message.get(Message.REQUEST_URI);
+ String uri = (String)message.get(Message.REQUEST_URL);
if (uri != null) {
buffer.getAddress().append(uri);
+ String query = (String)message.get(Message.QUERY_STRING);
+ if (query != null) {
+ buffer.getAddress().append("?").append(query);
+ }
}
InputStream is = message.getContent(InputStream.class);