Skip to content

Commit

Permalink
disbale the newly added logger to print message to console.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaoli committed Nov 26, 2023
1 parent 59b0568 commit 3073192
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tidevice/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def cmd_xcuitest(args: argparse.Namespace):
# Use the default formatter that is a no-op formatter.
setup_logger(LOG.xcuitest_test_process_log,
logfile=args.test_process_log_path,
disableStderrLogger=True, # Disable console logging.
level=log_level,
formatter=logging.Formatter())

Expand All @@ -264,6 +265,7 @@ def cmd_xcuitest(args: argparse.Namespace):
# Use the default formatter that is a no-op formatter.
setup_logger(LOG.xcuitest_test_output,
logfile=args.test_output_path,
disableStderrLogger=True, # Disable console logging.
level=log_level,
formatter=logging.Formatter())

Expand Down

0 comments on commit 3073192

Please sign in to comment.