log: remove orphaned LOGFILE variable

This commit is contained in:
Rusty Bird 2021-02-04 13:10:19 +00:00
parent d3d6b9de2b
commit c2c8db066e
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF
2 changed files with 0 additions and 2 deletions

View File

@ -35,7 +35,6 @@ FORMAT_LOG = '%(asctime)s %(message)s'
FORMAT_DEBUG = '%(asctime)s ' \
'[%(processName)s %(module)s.%(funcName)s:%(lineno)d] %(name)s: %(message)s'
LOGPATH = '/var/log/qubes'
LOGFILE = os.path.join(LOGPATH, 'qubes.log')
formatter_console = logging.Formatter(FORMAT_CONSOLE)
formatter_log = logging.Formatter(FORMAT_LOG)

View File

@ -106,7 +106,6 @@ try:
['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL
).decode().strip()
qubes.log.LOGPATH = '/tmp'
qubes.log.LOGFILE = '/tmp/qubes.log'
except subprocess.CalledProcessError:
# git returned nonzero, we are outside git repo
pass