Skip to content

static file request not reported in access log #587

@a-musing-moose

Description

@a-musing-moose

I am running a Django application (locally) with something like the following:

granian --host 0.0.0.0 --port 8000 --access-log --static-path-route /static --static-path-mount /tmp/static/ --interface asginl my.app.asgi:application

As you can see from the options - I am using Granian to server static files (successfully), and I have the access logging turned on. It seem that requests for static files are not included in the access log.

I noticed this as I initially misconfigured it and was trying to determine why file were not being server - but there was nothing in the access logs (or the regular logs either - even with the level set to debug).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions