Skip to content

Commit

Permalink
Log line display port number twice
Browse files Browse the repository at this point in the history
- reduce log output by only display port number once per log line.
  • Loading branch information
jean-m-cyr committed Dec 1, 2018
1 parent 71e5339 commit 5bf5afb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libpoolprotocols/PoolManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,7 @@ void PoolManager::rotateConnect()
m_connectionAttempt++;

// Invoke connections
m_selectedHost = m_connections.at(m_activeConnectionIdx).Host() + ":" +
to_string(m_connections.at(m_activeConnectionIdx).Port());
m_selectedHost = m_connections.at(m_activeConnectionIdx).Host();
p_client->setConnection(&m_connections.at(m_activeConnectionIdx));
cnote << "Selected pool " << m_selectedHost;

Expand Down

0 comments on commit 5bf5afb

Please sign in to comment.