From 6d7f10de2211b6d5ae581618e799069775717a25 Mon Sep 17 00:00:00 2001 From: Janito Vaqueiro Ferreira Filho Date: Sun, 13 Mar 2022 03:15:31 +0000 Subject: [PATCH] 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. --- zebrad/src/application.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zebrad/src/application.rs b/zebrad/src/application.rs index 10f743131..aa7ba5142 100644 --- a/zebrad/src/application.rs +++ b/zebrad/src/application.rs @@ -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()