From d7b1eaca20975646a1e782ef530d644e12742537 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 21 Dec 2023 09:25:52 +0100 Subject: [PATCH] Increase log level in get_files_diff Ogr debug level strings don't reach Splunk. --- ogr/services/pagure/pull_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogr/services/pagure/pull_request.py b/ogr/services/pagure/pull_request.py index 38ea0ef4..eb17560c 100644 --- a/ogr/services/pagure/pull_request.py +++ b/ogr/services/pagure/pull_request.py @@ -228,7 +228,7 @@ def get_files_diff( f"While retrieving PR diffstats Pagure returned ENOPRSTATS. \n{ex}", ) if attempt < retries: - logger.debug( + logger.error( f"Trying again; attempt={attempt} after {wait_seconds}seconds", ) attempt += 1