cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: reduce log.level in some places in transport/websocket
Date Fri, 25 Sep 2015 09:12:20 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 6ecda5285 -> 422bcf6c4


reduce log.level in some places in transport/websocket


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/422bcf6c
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/422bcf6c
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/422bcf6c

Branch: refs/heads/3.0.x-fixes
Commit: 422bcf6c4c336b9ba23f9ff720568d8f2de13659
Parents: 6ecda52
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Fri Sep 25 11:00:41 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Fri Sep 25 11:11:54 2015 +0200

----------------------------------------------------------------------
 .../atmosphere/DefaultProtocolInterceptor.java          | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/422bcf6c/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
index 710a90c..867faae 100644
--- a/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
+++ b/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/atmosphere/DefaultProtocolInterceptor.java
@@ -115,8 +115,8 @@ public class DefaultProtocolInterceptor extends AtmosphereInterceptorAdapter
{
                     return Action.CANCELLED;
                 }
                 
-                if (LOG.isLoggable(Level.INFO)) {
-                    LOG.log(Level.INFO, "inspecting data {0}", new String(data));
+                if (LOG.isLoggable(Level.FINE)) {
+                    LOG.log(Level.FINE, "inspecting data {0}", new String(data));
                 }
                 try {
                     AtmosphereRequest ar = createAtmosphereRequest(request, data);
@@ -247,8 +247,8 @@ public class DefaultProtocolInterceptor extends AtmosphereInterceptorAdapter
{
         @Override
         public byte[] transformPayload(AtmosphereResponse response, byte[] responseDraft,
byte[] data) 
             throws IOException {
-            if (LOG.isLoggable(Level.INFO)) {
-                LOG.log(Level.INFO, "transformPayload with draft={0}", new String(responseDraft));
+            if (LOG.isLoggable(Level.FINE)) {
+                LOG.log(Level.FINE, "transformPayload with draft={0}", new String(responseDraft));
             }
             AtmosphereRequest request = response.request();
             if (request.attributes().get(RESPONSE_PARENT) == null) {
@@ -261,8 +261,8 @@ public class DefaultProtocolInterceptor extends AtmosphereInterceptorAdapter
{
 
         @Override
         public byte[] error(AtmosphereResponse response, int statusCode, String reasonPhrase)
{
-            if (LOG.isLoggable(Level.INFO)) {
-                LOG.log(Level.INFO, "status={0}", statusCode);
+            if (LOG.isLoggable(Level.FINE)) {
+                LOG.log(Level.FINE, "status={0}", statusCode);
             }
             response.setStatus(statusCode, reasonPhrase);
             return createResponse(response, null, true);


Mime
View raw message