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:01:14 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 8a82bbfb5 -> 836f9703e


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/836f9703
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/836f9703
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/836f9703

Branch: refs/heads/master
Commit: 836f9703ed55adf33234458ac3cd3cf6b92d67ef
Parents: 8a82bbf
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:01:04 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/836f9703/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 2c05c6d..f862f6d 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
@@ -116,8 +116,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);
@@ -249,8 +249,8 @@ public class DefaultProtocolInterceptor extends AtmosphereInterceptorAdapter
{
         @SuppressWarnings("deprecation")
         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) {
@@ -263,8 +263,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