#6 added info output of env

improved logging config
This commit is contained in:
Alok Saldanha
2019-09-23 15:15:44 -04:00
parent d3a290a3ab
commit 2f2541d2b1
4 changed files with 16 additions and 4 deletions
+2
View File
@@ -10,6 +10,7 @@
# import BaseHTTPServer
import datetime
import os
import logging
from threading import Thread
from flask import (
@@ -204,6 +205,7 @@ def do_relaunch(path):
def main():
logging.basicConfig(level=logging.INFO, format='%(asctime)s:%(name)s:%(levelname)s:%(message)s')
env.validate()
pruner = PruneProcessCache(cache)
background_thread = Thread(target=pruner)