From 193b445bd5427e79e106407fcedcae172e437d72 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 30 Dec 2020 12:53:55 -0800 Subject: [PATCH] Initialize default logging in wsgi mode --- inquisitor/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inquisitor/app.py b/inquisitor/app.py index 7381a43..424bfea 100644 --- a/inquisitor/app.py +++ b/inquisitor/app.py @@ -7,7 +7,7 @@ import traceback from flask import Flask, render_template, request, jsonify, abort, redirect, url_for # Application imports -from inquisitor.configs import logger, DUNGEON_PATH, CACHE_PATH, subfeeds +from inquisitor.configs import logger, DUNGEON_PATH, CACHE_PATH, subfeeds, init_default_logging from inquisitor import sources, loader, timestamp # Globals @@ -169,4 +169,5 @@ def cache(cache_path): def wsgi(): + init_default_logging() return app