Permalink
Browse files

Merge pull request #147 from agrecascino/master

Fix verbose logging when using websocket.
  • Loading branch information...
2 parents 97bdc26 + 5c6f8ce commit f8a6de25b10738782aea94b3ece122ff90fa3fd8 @oberstet oberstet committed on GitHub Dec 29, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 autobahn/wamp_websocketpp_websocket_transport.ipp
@@ -53,6 +53,9 @@ namespace autobahn {
m_client.set_close_handler(bind(&wamp_websocketpp_websocket_transport<Config>::on_ws_close, this, _1));
m_client.set_fail_handler(bind(&wamp_websocketpp_websocket_transport<Config>::on_ws_fail, this, _1));
m_client.set_message_handler(bind(&wamp_websocketpp_websocket_transport<Config>::on_ws_message, this, ::_1, ::_2));
+ if(!debug_enabled) {
+ m_client.clear_access_channels(websocketpp::log::alevel::all);
+ }
}
template <class Config>

0 comments on commit f8a6de2

Please sign in to comment.