Merge pull request #3346 from bearnun/master

Update logging.rst
This commit is contained in:
David Lord 2019-09-23 12:22:05 -07:00 committed by GitHub
commit 599f32c7a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
------------------- -------------------