1
0
Fork 0

Adjust matrix-commander's logging

This commit is contained in:
Luca Beltrame 2022-01-16 00:38:21 +01:00
parent e0b41ed1f6
commit 4479bf4cfa
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -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: