Initialize default logging in wsgi mode

This commit is contained in:
Tim Van Baak 2020-12-30 12:53:55 -08:00
parent 97bb18fc3e
commit 193b445bd5
1 changed files with 2 additions and 1 deletions

View File

@ -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