From 22f3d4e75ba9f0d19460c6f5e3bb82e0da79c377 Mon Sep 17 00:00:00 2001 From: berhsi Date: Sat, 27 Jul 2019 18:58:51 +0200 Subject: [PATCH] statusd.py: add logging message to change_status() --- statusd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/statusd.py b/statusd.py index 5d8dc11..382d855 100755 --- a/statusd.py +++ b/statusd.py @@ -146,6 +146,7 @@ def read_api(api): param 1: string return: string or boolean ''' + logging.debug('Open API file: {}'.format(api)) if os.access(api, os.R_OK): logging.debug('API is readable') with open(api, 'r') as api_file: