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

[5.0] P2P: Modify log level for message to avoid confusion #1732

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 6, 2023

This PR conforms the net_plugin logging to meet the objectives set forth in: https://github.com/AntelopeIO/leap/blob/main/docs/01_nodeos/06_logging/01_logging-levels.md

Specifically many error level messages were changed to warn, info, or debug.

Resolves #1507

@heifner heifner added the OCI Work exclusive to OCI team label Oct 6, 2023
@@ -2939,7 +2940,7 @@ namespace eosio {
}

} catch( const fc::exception& e ) {
peer_elog( this, "Exception in handling message: ${s}", ("s", e.to_detail_string()) );
peer_wlog( this, "Exception in handling message: ${s}", ("s", e.to_detail_string()) );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "in handling message" is a bit strange, but no big deal.

@heifner heifner merged commit 6ae2f11 into release/5.0 Oct 11, 2023
21 checks passed
@heifner heifner deleted the GH-1507-bad-block-log-5.0 branch October 11, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants