Remove '/var/log/qmemman.log' backward compatiblity
This commit is contained in:
parent
e1991d5c33
commit
9571765b4c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user