This commit is contained in:
Raúl Marín 2024-07-15 13:42:00 +02:00
parent de029e278a
commit b6b4b046a3
2 changed files with 4 additions and 2 deletions

View File

@ -226,7 +226,8 @@ def parse_args():
def main():
logging.basicConfig(level=logging.INFO)
for handler in logging.root.handlers:
handler.setFormatter(SensitiveFormatter(handler.formatter._fmt))
# pylint: disable=protected-access
handler.setFormatter(SensitiveFormatter(handler.formatter._fmt)) # type: ignore
stopwatch = Stopwatch()

View File

@ -131,7 +131,8 @@ def process_results(
def run_stress_test(docker_image_name: str) -> None:
logging.basicConfig(level=logging.INFO)
for handler in logging.root.handlers:
handler.setFormatter(SensitiveFormatter(handler.formatter._fmt))
# pylint: disable=protected-access
handler.setFormatter(SensitiveFormatter(handler.formatter._fmt)) # type: ignore
stopwatch = Stopwatch()
temp_path = Path(TEMP_PATH)