Skip to content

Commit

Permalink
Merge pull request #116 from parisiale/maint
Browse files Browse the repository at this point in the history
(maint) Log broker WS URI on open event
  • Loading branch information
ploubser committed Nov 17, 2015
2 parents 6bfe9cc + 1605e20 commit 2e6d3c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/connector/connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ void Connection::onOpen(WS_Connection_Handle hdl) {
connection_timings_.open = Util::chrono::high_resolution_clock::now();
connection_timings_.connection_started = true;
LOG_DEBUG("WebSocket on open event - %1%", connection_timings_.toString());
LOG_INFO("Successfully established a WebSocket connection with the PCP broker");
LOG_INFO("Successfully established a WebSocket connection with the PCP "
"broker at %1%", broker_ws_uri_);
connection_state_ = ConnectionStateValues::open;

if (onOpen_callback) {
Expand Down

0 comments on commit 2e6d3c3

Please sign in to comment.