We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like all the logs to be outputted in JSON format.
Given the following config:
➜ cat openapi-mock.yaml # application specific options application: debug: false log_format: json log_level: info
I get the following access logs when curling the api
curl -H "Accept: application/json" localhost:8080/todos 172.17.0.1 - - [05/Jul/2022:10:54:59 +0000] "GET /todos HTTP/1.1" 200 186 "" "curl/7.79.1"
The text was updated successfully, but these errors were encountered:
#69 fix: access logs in JSON
a6d7859
Fixed in v0.3.2
Sorry, something went wrong.
No branches or pull requests
I would like all the logs to be outputted in JSON format.
Given the following config:
I get the following access logs when curling the api
The text was updated successfully, but these errors were encountered: