smolnar82 commented on a change in pull request #143: KNOX-1997: Adding changes 
to buffer messages from backend in onMessag…
URL: https://github.com/apache/knox/pull/143#discussion_r323255833
 
 

 ##########
 File path: 
gateway-server/src/main/java/org/apache/knox/gateway/websockets/WebsocketLogMessages.java
 ##########
 @@ -56,4 +56,8 @@ void failedCreatingWebSocket(
       text = "Websocket connection to backend server {0} closed")
   void onConnectionClose(String backend);
 
+  @Message(level = MessageLevel.DEBUG,
+      text = "{0}")
+  void debugLog(String message);
+
 
 Review comment:
   It's ok to have this new method; if I were you I'd rename the `logMessage` 
to `logWebsocketMessage` to express what it is actually doing. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to