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

AIRSHIP-2978 Customisable Access Log formats #78

Merged
merged 5 commits into from
Jul 17, 2023

Conversation

DewaldV
Copy link
Member

@DewaldV DewaldV commented Jul 12, 2023

Access Log format customisation

Make the default file access logger format configurable via the config file.

This will allow users to specify what they want to log in their access logs instead of just using the defaults we provide.

The default format remains unchanged though the fields were sorted in code to allow for easier grok'ing. It will be used if no format is provided in the config file.

Config Dump endpoint

Also added an optional /configdump endpoint to the health HTTP server enabled with --config-dump.

This will dump the current Snapshot to JSON and can be useful to check what exactly Yggdrasil has going on without the constant --debug output or running an entire Envoy instance.

@DewaldV DewaldV merged commit a316893 into master Jul 17, 2023
@DewaldV DewaldV deleted the airship-2978-customisable-log-format branch July 17, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants