From 32b98e4dbc39fd13acca847eb91c64f552eec833 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Mon, 16 Dec 2019 21:29:53 +0100 Subject: [PATCH] fixed missing log assignment --- sau/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sau/services.py b/sau/services.py index f8dff21..f19f92e 100644 --- a/sau/services.py +++ b/sau/services.py @@ -13,6 +13,7 @@ import sau.platforms proc_fd_map_re = re.compile(r'^.*(/[^\(]*) \(deleted\)$') def _warn(policy, msg): + log = logging.getLogger(sau.LOGNAME) if not policy.startswith('silent'): log.warning(msg)