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

Inject resource context into logs #282

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Inject resource context into logs #282

merged 1 commit into from
Sep 20, 2024

Conversation

skarimo
Copy link
Member

@skarimo skarimo commented Sep 12, 2024

It is currently difficult to understand from which resource the logs are being outputted for. This makes it so that the resource type and id is injected into the log output.

2024-09-12 11:37:18,223 - ERROR - 400 Bad Request - {"errors":[.....]}
2024-09-12 11:37:37,375 - ERROR - [users - 123-123-123] - 400 Bad Request - {"errors":[.....]}

@skarimo skarimo requested a review from a team as a code owner September 12, 2024 15:34
@skarimo skarimo merged commit 226f5ff into main Sep 20, 2024
11 checks passed
@skarimo skarimo deleted the sherz/log-resource branch September 20, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants