From 878733a7c561964a341733a84ace00ee642d6066 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Mon, 20 Jun 2016 18:07:05 +0000 Subject: [PATCH] Less verbose logging from the JsonDB driver --- rophako/jsondb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rophako/jsondb.py b/rophako/jsondb.py index f6a3e8d..3a94156 100644 --- a/rophako/jsondb.py +++ b/rophako/jsondb.py @@ -96,7 +96,7 @@ def delete(document): """Delete a document from the DB.""" path = mkpath(document) if os.path.isfile(path): - logger.info("Delete DB document: {}".format(path)) + logger.debug("Delete DB document: {}".format(path)) os.unlink(path) del_cache(document) @@ -253,7 +253,7 @@ def get_cache(key): if value: value = json.loads(value) except: - logger.warning("Redis exception: couldn't get_cache {}".format(key)) + logger.debug("Redis exception: couldn't get_cache {}".format(key)) value = None return value