From b3e323462c2754fe8aa3ba91f30437bcefbe88fe Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 16 Jul 2014 21:25:05 +0100 Subject: [PATCH] Change logging of 'creating backup' to debug level --- deluge/core/authmanager.py | 2 +- deluge/core/core.py | 2 +- deluge/core/torrentmanager.py | 4 ++-- deluge/ui/gtkui/common.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py index 3bc7fc643..54ec0b1d8 100644 --- a/deluge/core/authmanager.py +++ b/deluge/core/authmanager.py @@ -199,7 +199,7 @@ class AuthManager(component.Component): try: if os.path.isfile(filepath): - log.info("Creating backup of %s at: %s", filename, filepath_bak) + log.debug("Creating backup of %s at: %s", filename, filepath_bak) shutil.copy2(filepath, filepath_bak) except IOError as ex: log.error("Unable to backup %s to %s: %s", filepath, filepath_bak, ex) diff --git a/deluge/core/core.py b/deluge/core/core.py index c8e0c9a79..b8c39bdb7 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -160,7 +160,7 @@ class Core(component.Component): try: if os.path.isfile(filepath): - log.info("Creating backup of %s at: %s", filename, filepath_bak) + log.debug("Creating backup of %s at: %s", filename, filepath_bak) shutil.copy2(filepath, filepath_bak) except IOError as ex: log.error("Unable to backup %s to %s: %s", filepath, filepath_bak, ex) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 7f10d1f8f..484a41e50 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -736,7 +736,7 @@ class TorrentManager(component.Component): try: if os.path.isfile(filepath): - log.info("Creating backup of %s at: %s", filename, filepath_bak) + log.debug("Creating backup of %s at: %s", filename, filepath_bak) shutil.copy2(filepath, filepath_bak) except IOError as ex: log.error("Unable to backup %s to %s: %s", filepath, filepath_bak, ex) @@ -834,7 +834,7 @@ class TorrentManager(component.Component): try: if os.path.isfile(filepath): - log.info("Creating backup of %s at: %s", filename, filepath_bak) + log.debug("Creating backup of %s at: %s", filename, filepath_bak) shutil.copy2(filepath, filepath_bak) except IOError as ex: log.error("Unable to backup %s to %s: %s", filepath, filepath_bak, ex) diff --git a/deluge/ui/gtkui/common.py b/deluge/ui/gtkui/common.py index b36cce737..f51747a77 100644 --- a/deluge/ui/gtkui/common.py +++ b/deluge/ui/gtkui/common.py @@ -193,7 +193,7 @@ def save_pickled_state_file(filename, state): try: if os.path.isfile(filepath): - log.info("Creating backup of %s at: %s", filename, filepath_bak) + log.debug("Creating backup of %s at: %s", filename, filepath_bak) shutil.copy2(filepath, filepath_bak) except IOError as ex: log.error("Unable to backup %s to %s: %s", filepath, filepath_bak, ex)