Skip to content
Permalink
Browse files
[CXF-5500] Limit what get's logged from the conduit with FINE logging
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1559171 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Jan 17, 2014
1 parent cf391d0 commit 605b6027bfbb44e4c1fe22682f6bd68ce68a6c69
Showing 1 changed file with 7 additions and 6 deletions.
@@ -1370,12 +1370,13 @@ protected void handleRetransmits() throws IOException {
|| ("GET".equals(getMethod()) && getClient().isAutoRedirect())) {

if (LOG.isLoggable(Level.FINE) && cachedStream != null) {
LOG.fine("Conduit \""
+ getConduitName()
+ "\" Transmit cached message to: "
+ url
+ ": "
+ new String(cachedStream.getBytes()));
StringBuilder b = new StringBuilder(4096);
b.append("Conduit \"").append(getConduitName())
.append("\" Transmit cached message to: ")
.append(url)
.append(": ");
cachedStream.writeCacheTo(b, 16 * 1024);
LOG.fine(b.toString());
}


0 comments on commit 605b602

Please sign in to comment.