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

Using default logger in amqp_trx_plugin #9256

Merged
merged 1 commit into from
Jun 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
]
}
]
}