mention default logging level

This commit is contained in:
bearnun 2019-08-30 13:34:56 -07:00 committed by David Lord
parent 6429bf19a0
commit 2ceae5f8a5
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

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