Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust tcp_listener logging verbosity #4674

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading