From bab74fff831f8556bbf3203516c22551bca154d2 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 16 Jan 2022 00:38:21 +0100 Subject: [PATCH] Adjust matrix-commander's logging --- obs/update_unstable.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/obs/update_unstable.py b/obs/update_unstable.py index ade8b47..cb1a2f7 100755 --- a/obs/update_unstable.py +++ b/obs/update_unstable.py @@ -176,9 +176,10 @@ def notify_matrix(update_data: Dict[str, List[Tuple[str, str]]]) -> None: message = template.render(repositories=update_data, date=date) - cmd = [MATRIX_COMMANDER, "--markdown", "-m", message] + cmd = [MATRIX_COMMANDER, "--markdown", "--loglevel", "ERROR", + "-m", message] logging.debug("Sending Matrix notification") - sarge.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + sarge.run(cmd, stdout=subprocess.DEVNULL) def commit_changes(cache_file: str, repo_home: str) -> None: