From 9571765b4c7ad82de82f7fd0d8fcaf7ed8b9982e Mon Sep 17 00:00:00 2001 From: donoban Date: Thu, 11 Feb 2021 23:57:00 +0100 Subject: [PATCH] Remove '/var/log/qmemman.log' backward compatiblity --- qubes/tools/qmemmand.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qubes/tools/qmemmand.py b/qubes/tools/qmemmand.py index 1cb23eb4..7fbab9e6 100644 --- a/qubes/tools/qmemmand.py +++ b/qubes/tools/qmemmand.py @@ -35,7 +35,6 @@ import qubes.qmemman.algo import qubes.utils SOCK_PATH = '/var/run/qubes/qmemman.sock' -LOG_PATH = '/var/log/qubes/qmemman.log' system_state = qubes.qmemman.SystemState() global_lock = threading.Lock() @@ -243,12 +242,6 @@ def main(): logging.Formatter('%(name)s[%(process)d]: %(message)s')) logging.root.addHandler(ha_syslog) - # leave log for backwards compatibility - ha_file = logging.FileHandler(LOG_PATH) - ha_file.setFormatter( - logging.Formatter('%(asctime)s %(name)s[%(process)d]: %(message)s')) - logging.root.addHandler(ha_file) - if args.foreground: ha_stderr = logging.StreamHandler(sys.stderr) ha_file.setFormatter(