From fa232ff216f177e8508f046d1046fac39498a6e1 Mon Sep 17 00:00:00 2001 From: Ian Costanzo Date: Thu, 9 Jul 2020 16:06:23 -0700 Subject: [PATCH] Default settings for tracing Signed-off-by: Ian Costanzo Signed-off-by: Nicholas Rempel --- aries_cloudagent/config/argparse.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aries_cloudagent/config/argparse.py b/aries_cloudagent/config/argparse.py index 0c973fb5fc..a8cd752a8b 100644 --- a/aries_cloudagent/config/argparse.py +++ b/aries_cloudagent/config/argparse.py @@ -604,12 +604,12 @@ def get_settings(self, args: Namespace) -> dict: settings["timing.enabled"] = True if args.timing_log: settings["timing.log_file"] = args.timing_log + # note that you can configure tracing without actually enabling it + # this is to allow message- or exchange-specific tracing (vs global) + settings["trace.target"] = "log" + settings["trace.tag"] = "" if args.trace: - # note that you can configure tracing without actually enabling it - # this is to allow message- or exchange-specific tracing (vs global) settings["trace.enabled"] = True - settings["trace.target"] = "log" - settings["trace.tag"] = "" if args.trace_target: settings["trace.target"] = args.trace_target if args.trace_tag: