Trace RPC calls by default

Enable RPC call tracing by default. This is useful for development
purposes, and should probably be removed in the future.
This commit is contained in:
Janito Vaqueiro Ferreira Filho 2022-03-13 03:15:31 +00:00
parent 53e2d2e298
commit 6d7f10de22
1 changed files with 5 additions and 1 deletions

View File

@ -342,7 +342,11 @@ impl Application for ZebradApp {
.as_ref()
.expect("config is loaded before register_components");
let default_filter = if command.verbose { "debug" } else { "info" };
let default_filter = if command.verbose {
"debug,rpc=trace"
} else {
"info,rpc=trace"
};
let is_server = command
.command
.as_ref()