Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
log to log
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelsavannah committed Mar 14, 2019
1 parent 80b8013 commit 06f7b30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ session::open(std::shared_ptr<bzn::beast::websocket_base> ws_factory)
return;
}

LOG(debug) << "Session " << self->session_id << " ws is at " << self->websocket->get_websocket_address() << " and I am at " << self.get();
LOG(debug) << "session " << self->session_id << " ws is at " << self->websocket->get_websocket_address() << " and I am at " << self.get();
self->monitor->send_counter(statistic::session_opened);
self->do_read();
self->do_write();
Expand Down Expand Up @@ -140,7 +140,7 @@ session::accept(std::shared_ptr<bzn::beast::websocket_stream_base> ws)
return;
}

LOG(debug) << "Session " << self->session_id << " ws is at "
LOG(debug) << "session " << self->session_id << " ws is at "
<< self->websocket->get_websocket_address() << " and I am at "
<< self.get();
self->monitor->send_counter(statistic::session_opened);
Expand Down Expand Up @@ -364,5 +364,5 @@ session::~session()

void session::record(std::string event)
{
this->event_log.push_back(event);
LOG(debug) << "[session " << this->session_id << "]: " << event;
}

0 comments on commit 06f7b30

Please sign in to comment.