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 committed Jun 25, 2022
1 parent 96003fc commit 8c10e77
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 8c10e77

Please sign in to comment.