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

Set a subdictionary key for pgx logs adaptor #1253

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

josephschorr
Copy link
Member

This ensures that all pgx supplied log keys are under the pgx key, to prevent overlap of the time keys

Example:

{"level":"debug","module":"pgx","pgx":{"args":[],"commandTag":"COMMIT","pid":110,"sql":"commit","time":0.434708},"time":"2023-01-01T01:01:00-00:00","message":"Query"}

Fixes #58

@josephschorr josephschorr requested review from jzelinskie and a team April 6, 2023 20:41
@github-actions github-actions bot added the area/datastore Affects the storage system label Apr 6, 2023
@josephschorr josephschorr enabled auto-merge April 6, 2023 20:43
This ensures that all pgx supplied log keys are under the `pgx` key, to prevent overlap of the `time` keys

Example:
```
{"level":"debug","module":"pgx","pgx":{"args":[],"commandTag":"COMMIT","pid":110,"sql":"commit","time":0.434708},"time":"2023-01-01T01:01:00-00:00","message":"Query"}
```

Fixes authzed#58
@josephschorr josephschorr merged commit 8222db5 into authzed:main Apr 6, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2023
@josephschorr josephschorr deleted the pgx-logs branch April 7, 2023 00:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/datastore Affects the storage system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

time field in pgx logs is repeated
2 participants