Filter outdated_version errors from logging (#1649)

Merging this as master is currently spammed with this error.
This commit is contained in:
cryptocode 2019-01-27 15:10:36 +01:00 committed by GitHub
commit 135e5d692e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -674,7 +674,7 @@ void nano::network::receive_action (nano::udp_data * data_a)
break;
}
if (node.config.logging.network_logging ())
if (node.config.logging.network_logging () && parser.status != nano::message_parser::parse_status::outdated_version)
{
BOOST_LOG (node.log) << "Could not parse message. Error: " << parser.status_string ();
}