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)