Added log lines for open and close of WS.