Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

@aponcedeleonch
Copy link
Member

@aponcedeleonch aponcedeleonch commented Nov 29, 2024

Right now even if we specify that we want TEXT logging output Codegate will use JSON. This fixes it. It also introduces structlog as a convenient already built formatter instead of making our own formatters hand-made

Closes: #111

Right now even if we specify that we want TEXT logging output Codegate
will use JSON. This fixes it. It also introduces `structlog` as
a convenient already built formatter instead of making our own
formatters hand-made
@aponcedeleonch
Copy link
Member Author

Logging examples after this change

TEXT

image

JSON

image

Copy link

@lukehinds lukehinds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! and thank you for updating docs too!

@aponcedeleonch aponcedeleonch merged commit b58e5aa into main Nov 29, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use structlog for logging

3 participants