Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Refactor request logging code #3700

Merged
merged 2 commits into from
Aug 17, 2018
Merged

Refactor request logging code #3700

merged 2 commits into from
Aug 17, 2018

Commits on Aug 15, 2018

  1. Refactor request logging code

    This commit moves a bunch of the logic for deciding when to log the receipt and
    completion of HTTP requests into SynapseRequest, rather than in the request
    handling wrappers.
    
    Advantages of this are:
     * we get logs for *all* requests (including OPTIONS and HEADs), rather than
       just those that end up hitting handlers we've remembered to decorate
       correctly.
    
     * when a request handler wires up a Producer (as the media stuff does
       currently, and as other things will do soon), we log at the point that all
       of the traffic has been sent to the client.
    richvdh committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    eaaa224 View commit details
    Browse the repository at this point in the history
  2. changelog

    richvdh committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    2de813a View commit details
    Browse the repository at this point in the history