Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly flush when writing access log entries #520

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 30, 2024

  1. Explicitly flush when writing access log entries

    daphne 1.0.0 arranged to flush access logs immediately (django#53, django#54), but
    only when logging to a file.  It's often convenient to log to stdout
    instead and rely on the systemd journal, but at the moment that results
    in access logs being unhelpfully block-buffered.  Explicitly flush
    entries so that this works regardless of the logging destination.
    cjwatson committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    53bc4c5 View commit details
    Browse the repository at this point in the history