Skip to content

access log format is invalid when using gunicorn worker #705

@sontek

Description

@sontek

It seems you have to pass in --access-logformat='%a %l %u %t "%r" %s %b "%{Referrer}i" "%{User-Agent}i"' to gunicorn for logging to work, they default format from gunicorn is "%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" which doesn't work with aiohttp

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions