diff --git a/docs/sanic/request_data.md b/docs/sanic/request_data.md index a62b7e6a..e778faf6 100644 --- a/docs/sanic/request_data.md +++ b/docs/sanic/request_data.md @@ -97,6 +97,7 @@ The following variables are accessible as properties on `Request` objects: - `path`: The path of the request: `/posts/1/` - `query_string`: The query string of the request: `foo=bar` or a blank string `''` - `uri_template`: Template for matching route handler: `/posts//` +- `token`: The value of Authorization header: `Basic YWRtaW46YWRtaW4=` ## Accessing values using `get` and `getlist` diff --git a/sanic/config.py b/sanic/config.py index e8846465..0c2cc701 100644 --- a/sanic/config.py +++ b/sanic/config.py @@ -81,11 +81,11 @@ LOGGING = { }, 'loggers': { 'sanic': { - 'level': 'DEBUG', + 'level': 'INFO', 'handlers': ['internal', 'errorStream'] }, 'network': { - 'level': 'DEBUG', + 'level': 'INFO', 'handlers': ['accessStream', 'errorStream'] } }