Skip to content

Commit

Permalink
GH-538 Add transaction_trace_success and transaction_trace_failure tr…
Browse files Browse the repository at this point in the history
…ace logging to launcher logger config to enable full logging during tests.
  • Loading branch information
heifner authored and ClaytonCalabrese committed Jun 30, 2022
1 parent 1bd80ae commit f7de017
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions programs/eosio-launcher/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,18 @@ launcher_def::write_logging_config_file(tn_node_def &node) {
if( gelf_enabled ) tft.appenders.push_back( "net" );
log_config.loggers.emplace_back( tft );

fc::logger_config tts( "transaction_trace_success" );
tts.level = fc::log_level::debug;
tts.appenders.push_back( "stderr" );
if( gelf_enabled ) tts.appenders.push_back( "net" );
log_config.loggers.emplace_back( tts );

fc::logger_config ttf( "transaction_trace_failure" );
ttf.level = fc::log_level::debug;
ttf.appenders.push_back( "stderr" );
if( gelf_enabled ) ttf.appenders.push_back( "net" );
log_config.loggers.emplace_back( ttf );

fc::logger_config ta( "trace_api" );
ta.level = fc::log_level::debug;
ta.appenders.push_back( "stderr" );
Expand Down

0 comments on commit f7de017

Please sign in to comment.