don't access app.logger when configuring app.logger

This commit is contained in:
David Lord 2024-04-07 12:03:19 -07:00
parent b739390955
commit adb7dd99c2
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ Depending on your project, it may be more useful to configure each logger you
care about separately, instead of configuring only the root logger. ::
for logger in (
app.logger,
logging.getLogger(app.name),
logging.getLogger('sqlalchemy'),
logging.getLogger('other_package'),
):