forked from orbit-oss/flask
mention default logging level
This commit is contained in:
parent
6429bf19a0
commit
2ceae5f8a5
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ logger can also be used to log your own messages.
|
||||||
app.logger.info('%s failed to log in', user.username)
|
app.logger.info('%s failed to log in', user.username)
|
||||||
abort(401)
|
abort(401)
|
||||||
|
|
||||||
|
If you don't configure logging, Python's default log level is usually
|
||||||
|
'warning'. Nothing below the configured level will be visible.
|
||||||
|
|
||||||
|
|
||||||
Basic Configuration
|
Basic Configuration
|
||||||
-------------------
|
-------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue