Browse Source

log: remove orphaned LOGFILE variable

Rusty Bird 3 years ago
parent
commit
c2c8db066e
2 changed files with 0 additions and 2 deletions
  1. 0 1
      qubes/log.py
  2. 0 1
      qubes/tests/__init__.py

+ 0 - 1
qubes/log.py

@@ -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)

+ 0 - 1
qubes/tests/__init__.py

@@ -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