commit 83b903c46e796318bba0fd29023293bea92fb122
parent 634c4439516dfe8fb8d81aaebf80865ba443a015
Author: Julien Cristau <jcristau@mozilla.com>
Date: Thu, 13 Nov 2025 15:23:54 +0000
Bug 1999978 - turn off taskcluster debug logging when running taskgraph. r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D272453
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/taskcluster/mach_commands.py b/taskcluster/mach_commands.py
@@ -19,8 +19,6 @@ from mach.decorators import Command, CommandArgument, SubCommand
from mach.util import strtobool
from mozsystemmonitor.resourcemonitor import SystemResourceMonitor
-logger = logging.getLogger("taskcluster")
-
def setup_logging(command_context, quiet=False, verbose=True):
"""
@@ -40,6 +38,7 @@ def setup_logging(command_context, quiet=False, verbose=True):
write_interval=old.formatter.write_interval,
write_times=old.formatter.write_times,
)
+ logging.getLogger("taskcluster").setLevel(logging.INFO)
# all of the taskgraph logging is unstructured logging
command_context.log_manager.enable_unstructured()