Skip to content

Commit

Permalink
Update logging documentation (#3243)
Browse files Browse the repository at this point in the history
  • Loading branch information
0az committed Oct 6, 2018
1 parent c89e0a6 commit b11d4e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ configuring whole loggers in your application.
Access logs
-----------

Access log by default is switched on and uses ``'aiohttp.access'``
logger name.
Access logs are enabled by default. If the `debug` flag is set, and the default
logger ``'aiohttp.access'`` is used, access logs will be output to
:obj:`~sys.stderr` if no handlers are attached.
Furthermore, if the default logger has no log level set, the log level will be
set to :obj:`logging.DEBUG`.

The log may be controlled by :meth:`aiohttp.web.AppRunner` and
:func:`aiohttp.web.run_app`.
Expand Down

0 comments on commit b11d4e5

Please sign in to comment.