From 6e4cec829a0e4afe774c250022458b167e2c1527 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Sat, 16 May 2015 20:40:49 -0700 Subject: [PATCH] Updated some sabnzbd logging --- headphones/sab.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headphones/sab.py b/headphones/sab.py index 681906e3..79a67a0e 100644 --- a/headphones/sab.py +++ b/headphones/sab.py @@ -54,7 +54,7 @@ def sab_api_call(request_type=None, params={}, **kwargs): logger.error("Error connecting to SABnzbd on url: %s" % headphones.CONFIG.SAB_HOST) return False else: - logger.info("Successfully connected to SABnzbd on url: %s" % headphones.CONFIG.SAB_HOST) + logger.debug("Successfully connected to SABnzbd on url: %s" % headphones.CONFIG.SAB_HOST) return response def sendNZB(nzb): @@ -82,6 +82,7 @@ def sendNZB(nzb): files = {"nzbfile": (helpers.latinToAscii(nzb.name) + ".nzb", nzbdata)} headers = {'User-Agent': USER_AGENT} + logger.info("Attempting to connect to SABnzbd on url: %s" % headphones.CONFIG.SAB_HOST) if nzb.resultType == "nzb": response = sab_api_call('send_nzb', params=params) elif nzb.resultType == "nzbdata":