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

Commit

Permalink
Add http debug logging to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jul 17, 2019
1 parent 0c6deed commit 3884ecb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions programs/eosio-launcher/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1165,11 +1165,18 @@ launcher_def::write_logging_config_file(tn_node_def &node) {
( "host", instance.name )
) );
log_config.loggers.front().appenders.push_back("net");

fc::logger_config p2p ("net_plugin_impl");
p2p.level=fc::log_level::debug;
p2p.appenders.push_back ("stderr");
p2p.appenders.push_back ("net");
log_config.loggers.emplace_back(p2p);

fc::logger_config http("http_plugin");
http.level=fc::log_level::debug;
http.appenders.push_back("stderr");
http.appenders.push_back("net");
log_config.loggers.emplace_back(http);
}

auto str = fc::json::to_pretty_string( log_config, fc::json::stringify_large_ints_and_doubles );
Expand Down

0 comments on commit 3884ecb

Please sign in to comment.