Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(http-log) add buffering support using a generic facility #3604
This PR introduces a generic logging buffer module, refactored out of the Galileo-specific logging buffer and uses it in the http-log plugin.
This adds three new optional properties to the configuration of http-log:
Their behaviors are the same as the identically-named options in the
The output format of
The new fields are not required, and when absent their defaults mean that they behave the same as the http-log plugin always did, meaning this requires no migrations.
This PR also fixes the http-log test suite, which was entirely disabled due to reliance on an unavailable feature of mockbin.com. It adds a mock log server to our custom Nginx configuration of the test suite.
Includes a test case for http-log buffering using the mock log server.