Merge pull request #313 from r0fls/logging-var

remove logger from run
This commit is contained in:
Eli Uriegas 2017-01-18 23:50:07 -06:00 committed by GitHub
commit 5a7b70c054

View File

@ -243,7 +243,7 @@ class Sanic:
def run(self, host="127.0.0.1", port=8000, debug=False, before_start=None,
after_start=None, before_stop=None, after_stop=None, sock=None,
workers=1, loop=None, protocol=HttpProtocol, backlog=100,
stop_event=None, logger=None):
stop_event=None):
"""
Runs the HTTP Server and listens until keyboard interrupt or term
signal. On termination, drains connections before closing.