update logging placement

This commit is contained in:
Raphael Deem
2017-01-17 15:38:20 -08:00
parent 9108a4c69f
commit ba1e006585
3 changed files with 16 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ logging.basicConfig(
log = logging.getLogger()
# Set logger to override default basicConfig
sanic = Sanic(logger=True)
sanic = Sanic()
@sanic.route("/")
def test(request):
log.info("received request; responding with 'hey'")