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

Commit

Permalink
Merge pull request #9256 from EOSIO/rm-amqp_trx-logger
Browse files Browse the repository at this point in the history
Using default logger in amqp_trx_plugin
  • Loading branch information
heifner authored Jun 26, 2020
2 parents 1c8fbb9 + 2937a61 commit 0af878a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
6 changes: 0 additions & 6 deletions programs/eosio-launcher/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1189,12 +1189,6 @@ launcher_def::write_logging_config_file(tn_node_def &node) {
if( gelf_enabled ) ta.appenders.push_back( "net" );
log_config.loggers.emplace_back( ta );

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

auto str = fc::json::to_pretty_string( log_config, fc::time_point::maximum(), fc::json::output_formatting::stringify_large_ints_and_doubles );
cfg.write( str.c_str(), str.size() );
cfg.close();
Expand Down
9 changes: 0 additions & 9 deletions programs/nodeos/logging.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@
"stderr",
"net"
]
},{
"name": "amqp_trx",
"level": "debug",
"enabled": true,
"additivity": false,
"appenders": [
"stderr",
"net"
]
}
]
}

0 comments on commit 0af878a

Please sign in to comment.