Skip to content

Commit

Permalink
[CXF-5500] Limit what get's logged from the conduit with FINE logging
Browse files Browse the repository at this point in the history
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 605b602
Showing 1 changed file with 7 additions and 6 deletions.
Expand Up @@ -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());
}


Expand Down

0 comments on commit 605b602

Please sign in to comment.