initialize logging first

This commit is contained in:
Jakob Ketterl 2021-04-27 00:47:33 +02:00
parent ae729990ca
commit 96ada02e38
1 changed files with 1 additions and 1 deletions

View File

@ -17,8 +17,8 @@ import argparse
import logging
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
logger = logging.getLogger(__name__)
class ThreadedHttpServer(ThreadingMixIn, HTTPServer):