goelrajat 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_r323247335
##########
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:
As per comment from @moresandeep 'logMessage' is used to log websocket data
messages rather than generic debug log messages. So added a new method.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services