Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6222 from EOSIO/print_nodeos_config_path
Browse files Browse the repository at this point in the history
print config.ini & data-dir nodeos is using at launch
  • Loading branch information
heifner authored Nov 5, 2018
2 parents e0cb96c + 149dd03 commit 7e003b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/appbase
3 changes: 2 additions & 1 deletion programs/nodeos/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ int main(int argc, char** argv)
return INITIALIZE_FAIL;
initialize_logging();
ilog("nodeos version ${ver}", ("ver", app().version_string()));
ilog("eosio root is ${root}", ("root", root.string()));
ilog("nodeos using configuration file ${c}", ("c", app().full_config_file_path().string()));
ilog("nodeos data directory is ${d}", ("d", app().data_dir().string()));
app().startup();
app().exec();
} catch( const extract_genesis_state_exception& e ) {
Expand Down

0 comments on commit 7e003b2

Please sign in to comment.