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

Log informational message when plugin starts #1502

Merged
merged 1 commit into from
Dec 31, 2018
Merged

Log informational message when plugin starts #1502

merged 1 commit into from
Dec 31, 2018

Conversation

jmjatlanta
Copy link
Contributor

Fixes #1459

Once a plugin starts, an informational message is added to the log, showing the name of the plugin and that it has started. Example:

674910ms th_a       application.cpp:196           reset_p2p_node       ] Adding seed node 144.202.100.49:1776
674911ms th_a       application.cpp:211           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:43911
674912ms th_a       application.cpp:1156          startup_plugins      ] Plugin account_history started
674912ms th_a       application.cpp:1156          startup_plugins      ] Plugin grouped_orders started
674912ms th_a       application.cpp:1156          startup_plugins      ] Plugin market_history started
674912ms th_a       witness.cpp:118               plugin_startup       ] witness plugin:  plugin_startup() begin
674912ms th_a       witness.cpp:139               plugin_startup       ] No witness configured.
674912ms th_a       witness.cpp:141               plugin_startup       ] witness plugin:  plugin_startup() end
674912ms th_a       application.cpp:1156          startup_plugins      ] Plugin witness started

Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

I like that, much easier than adding to each plugin as i suggested.

by the way, you can maybe take a look at #1437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants