Skip to content

Commit

Permalink
don't access app.logger when configuring app.logger
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Apr 7, 2024
1 parent b739390 commit adb7dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
):
Expand Down

0 comments on commit adb7dd9

Please sign in to comment.