Use app logger instead of root logger

This commit is contained in:
2022-01-26 21:43:31 +01:00
parent 0fcd407006
commit 19aebcc327
2 changed files with 2 additions and 3 deletions

2
app.py
View File

@ -40,6 +40,6 @@ CORS(app)
db = SQLAlchemy(app)
migrate = Migrate(app, db, compare_type=True)
logging.debug("Hello from KI")
app.logger.info("Hello from KI")
from ki import module # noqa