Skip to content

Commit

Permalink
Enable access log by default, fix #735
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 13, 2016
1 parent aeb162f commit 3339471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ CHANGES

- Add version parameter to ClientSession constructor,
deprecate it for session.request() and family #736

- Enable access log by default #735
4 changes: 2 additions & 2 deletions aiohttp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import aiohttp
from aiohttp import errors, streams, hdrs, helpers
from aiohttp.log import server_logger
from aiohttp.log import access_logger, server_logger
from aiohttp.helpers import ensure_future

__all__ = ('ServerHttpProtocol',)
Expand Down Expand Up @@ -89,7 +89,7 @@ def __init__(self, *, loop=None,
keep_alive_on=True,
timeout=0,
logger=server_logger,
access_log=None,
access_log=access_logger,
access_log_format=helpers.AccessLogger.LOG_FORMAT,
debug=False,
log=None,
Expand Down

0 comments on commit 3339471

Please sign in to comment.