log: remove orphaned LOGFILE variable
This commit is contained in:
parent
d3d6b9de2b
commit
c2c8db066e
@ -35,7 +35,6 @@ FORMAT_LOG = '%(asctime)s %(message)s'
|
|||||||
FORMAT_DEBUG = '%(asctime)s ' \
|
FORMAT_DEBUG = '%(asctime)s ' \
|
||||||
'[%(processName)s %(module)s.%(funcName)s:%(lineno)d] %(name)s: %(message)s'
|
'[%(processName)s %(module)s.%(funcName)s:%(lineno)d] %(name)s: %(message)s'
|
||||||
LOGPATH = '/var/log/qubes'
|
LOGPATH = '/var/log/qubes'
|
||||||
LOGFILE = os.path.join(LOGPATH, 'qubes.log')
|
|
||||||
|
|
||||||
formatter_console = logging.Formatter(FORMAT_CONSOLE)
|
formatter_console = logging.Formatter(FORMAT_CONSOLE)
|
||||||
formatter_log = logging.Formatter(FORMAT_LOG)
|
formatter_log = logging.Formatter(FORMAT_LOG)
|
||||||
|
@ -106,7 +106,6 @@ try:
|
|||||||
['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL
|
['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL
|
||||||
).decode().strip()
|
).decode().strip()
|
||||||
qubes.log.LOGPATH = '/tmp'
|
qubes.log.LOGPATH = '/tmp'
|
||||||
qubes.log.LOGFILE = '/tmp/qubes.log'
|
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
# git returned nonzero, we are outside git repo
|
# git returned nonzero, we are outside git repo
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user