From d6adbab306e29e5180457aa04959074f826cd52f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 16 2019 13:40:21 +0000 Subject: Change couple of log entries from info to warning Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/lib/tasks_mirror.py b/pagure/lib/tasks_mirror.py index 2b2e815..e5302e1 100644 --- a/pagure/lib/tasks_mirror.py +++ b/pagure/lib/tasks_mirror.py @@ -203,7 +203,7 @@ def mirror_project(self, session, username, namespace, name): repofolder = pagure_config["GIT_FOLDER"] repopath = os.path.join(repofolder, project.path) if not os.path.exists(repopath): - _log.info("Git folder not found at: %s, bailing", repopath) + _log.warning("Git folder not found at: %s, bailing", repopath) return ssh_folder = pagure_config["MIRROR_SSHKEYS_FOLDER"] @@ -211,7 +211,7 @@ def mirror_project(self, session, username, namespace, name): private_key_file = os.path.join(ssh_folder, public_key_name) if not os.path.exists(private_key_file): - _log.info("No %s key found, bailing", private_key_file) + _log.warning("No %s key found, bailing", private_key_file) project.mirror_hook.last_log = "Private key not found on disk, bailing" session.add(project.mirror_hook) session.commit()