JSON formatted logging with Flask and gunicorn JSON formatted logging with Flask and gunicorn json json

JSON formatted logging with Flask and gunicorn


to get the access log as well your config file should look something like this:

[loggers]keys=root, gunicorn.error, gunicorn.access...[logger_gunicorn.access]level=(DEBUG|INFO|ERROR)handlers=consolepropagate=0qualname=gunicorn.access

The accesses are logged in the INFO log level, so if you want to show them make sure you have the log level within the "logger_gunicorn.access" tag set to at least INFO