from sanic import Sanic
from sanic.log import logger
from sanic.response import text
app = Sanic(‘logging_example’)
@app.route(’/’)
async def test(request):
logger.info(‘Here is your log’)
return text(‘Hello World!’)
if name == “main”:
app.run(host=“0.0.0.0”,
port=8085,
fast=True,
dev=False,
debug=False,
access_log=False)
It still prints "Here is your log"