Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default settings for tracing #598

Merged
merged 2 commits into from
Jul 10, 2020
Merged
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
8 changes: 4 additions & 4 deletions aries_cloudagent/config/argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down