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:
parent
53e2d2e298
commit
6d7f10de22
|
@ -342,7 +342,11 @@ impl Application for ZebradApp {
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.expect("config is loaded before register_components");
|
.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
|
let is_server = command
|
||||||
.command
|
.command
|
||||||
.as_ref()
|
.as_ref()
|
||||||
|
|
Loading…
Reference in New Issue