This commit is contained in:
Eli Uriegas 2017-05-08 20:44:19 -07:00
parent bfcd499cc2
commit bb6de53f28

View File

@ -85,11 +85,11 @@ By default, log_config parameter is set to use sanic.config.LOGGING dictionary f
And `filters`: And `filters`:
- accessFilter (using sanic.logging.DefaultFilter)<br> - accessFilter (using sanic.log.DefaultFilter)<br>
The filter that allows only levels in `DEBUG`, `INFO`, and `NONE(0)` The filter that allows only levels in `DEBUG`, `INFO`, and `NONE(0)`
- errorFilter (using sanic.logging.DefaultFilter)<br> - errorFilter (using sanic.log.DefaultFilter)<br>
The filter that allows only levels in `WARNING`, `ERROR`, and `CRITICAL` The filter that allows only levels in `WARNING`, `ERROR`, and `CRITICAL`
There are two `loggers` used in sanic, and **must be defined if you want to create your own logging configuration**: There are two `loggers` used in sanic, and **must be defined if you want to create your own logging configuration**: