Skip to content

Commit

Permalink
Adjust tcp_listener logging verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jul 7, 2024
1 parent f5f10a2 commit dc7d89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nano/node/transport/tcp_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void nano::transport::tcp_listener::start ()
local = acceptor.local_endpoint ();
}

logger.info (nano::log::type::tcp_listener, "Listening for incoming connections on: {}", fmt::streamed (acceptor.local_endpoint ()));
logger.debug (nano::log::type::tcp_listener, "Listening for incoming connections on: {}", fmt::streamed (acceptor.local_endpoint ()));
}
catch (boost::system::system_error const & ex)
{
Expand Down Expand Up @@ -106,7 +106,7 @@ void nano::transport::tcp_listener::stop ()
{
debug_assert (!stopped);

logger.info (nano::log::type::tcp_listener, "Stopping listening for incoming connections and closing all sockets...");
logger.debug (nano::log::type::tcp_listener, "Stopping listening for incoming connections and closing all sockets...");

{
nano::lock_guard<nano::mutex> lock{ mutex };
Expand Down

0 comments on commit dc7d89f

Please sign in to comment.