mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
relay: improve log messages
This commit is contained in:
parent
8cf6414295
commit
4829184a7d
1 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ RelaySession::RelaySession(Relay *r, Identifier sid) :
|
|||
auto loggerName = fmt::format("relay:{}", sid);
|
||||
logger = villas::logging.get(loggerName);
|
||||
|
||||
logger->info("RelaySession created: {}", identifier);
|
||||
logger->info("Session created: {}", identifier);
|
||||
|
||||
sessions[sid] = this;
|
||||
|
||||
|
@ -68,7 +68,7 @@ RelaySession::RelaySession(Relay *r, Identifier sid) :
|
|||
|
||||
RelaySession::~RelaySession()
|
||||
{
|
||||
logger->info("RelaySession destroyed: {}", identifier);
|
||||
logger->info("Session destroyed: {}", identifier);
|
||||
|
||||
sessions.erase(identifier);
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ RelayConnection::RelayConnection(Relay *r, lws *w, bool lo) :
|
|||
|
||||
RelayConnection::~RelayConnection()
|
||||
{
|
||||
session->logger->info("RelayConnection closed: {} ({})", name, ip);
|
||||
session->logger->info("Connection closed: {} ({})", name, ip);
|
||||
|
||||
session->connections.erase(wsi);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue