cleanup
ben/archives/pipeline/head This commit looks good Details

main
parent 62b7b132c8
commit 05bc1b3b4b

@ -11,6 +11,9 @@ def read_config(path):
logfile = conf['log'].get('file')
loglevel = conf['log'].get('level', "INFO").upper()
if logfile:
logger.info(f"logging to file '{logfile}'")
# remove deafult logger
logger.remove()
if logfile:

@ -23,7 +23,6 @@ class AsyncServer:
self.port = config["http"]["port"]
self.env = config["archives"]["env"]
self.domain = config["archives"]["domain"]
self.my_username = config["archives"]["my_username"]
self.path = config["archives"]["path"]
self.template_shared_path = config["jinja"]["template_shared_path"]

@ -9,8 +9,6 @@ template_shared_path = /var/www/shared
path = /archives
du_cache_file = /tmp/du_cache.json
my_username = username
# used for links and stuff
domain = localhost
env = env
[log]

Loading…
Cancel
Save