forked from orbit-oss/flask
don't access app.logger when configuring app.logger
This commit is contained in:
parent
b739390955
commit
adb7dd99c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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. ::
|
care about separately, instead of configuring only the root logger. ::
|
||||||
|
|
||||||
for logger in (
|
for logger in (
|
||||||
app.logger,
|
logging.getLogger(app.name),
|
||||||
logging.getLogger('sqlalchemy'),
|
logging.getLogger('sqlalchemy'),
|
||||||
logging.getLogger('other_package'),
|
logging.getLogger('other_package'),
|
||||||
):
|
):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue