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

Make LOG_FORMAT work for access logs, allow custom access log format #3637

Closed
khvn26 opened this issue Mar 18, 2024 · 0 comments · Fixed by #3672
Closed

Make LOG_FORMAT work for access logs, allow custom access log format #3637

khvn26 opened this issue Mar 18, 2024 · 0 comments · Fixed by #3672
Labels
api Issue related to the REST API good first issue Good for newcomers improvement Improvement to the existing platform

Comments

@khvn26
Copy link
Member

khvn26 commented Mar 18, 2024

Is your feature request related to a problem? Please describe.

Currently, access log format is hardcoded.

This prevents users from customising their access log output.

Additionally, setting LOG_FORMAT does not apply the JSON formatting to the access logs.

Describe the solution you'd like.

Implement the following:

  1. Support setting custom logconfigs — either logconfig, logconfig_dict or logconfig_json command line options.
  2. Set up a log formatter (e.g. this JSON formatter) depending on how LOG_FORMAT is set.

Describe alternatives you've considered

N/A

Additional context

No response

@dabeeeenster dabeeeenster added good first issue Good for newcomers improvement Improvement to the existing platform api Issue related to the REST API labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API good first issue Good for newcomers improvement Improvement to the existing platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants