diff --git a/src/wikimore/app.py b/src/wikimore/app.py index 45388b5..afd1a37 100644 --- a/src/wikimore/app.py +++ b/src/wikimore/app.py @@ -27,6 +27,9 @@ handler = logging.StreamHandler() handler.setLevel(logging.DEBUG) logger.addHandler(handler) +# Remove the default Flask logger +app.logger.removeHandler(app.logger.handlers[0]) + formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s") handler.setFormatter(formatter)