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

Use structlog.dev.ConsoleRenderer when in local dev mode #16246

Open
miketheman opened this issue Jul 9, 2024 · 0 comments
Open

Use structlog.dev.ConsoleRenderer when in local dev mode #16246

miketheman opened this issue Jul 9, 2024 · 0 comments
Labels
developer experience Anything that improves the experience for Warehouse devs feature request help needed We'd love volunteers to advise on or help fix/implement this.

Comments

@miketheman
Copy link
Member

We configure the logging renderer here:

RENDERER = structlog.processors.JSONRenderer()

Explore using https://www.structlog.org/en/stable/console-output.html in local development mode, and if this mode increases clarity when running multiple containers and processes.

@miketheman miketheman added help needed We'd love volunteers to advise on or help fix/implement this. feature request developer experience Anything that improves the experience for Warehouse devs labels Jul 9, 2024
@miketheman miketheman changed the title Use structlog.dev.ConsoleRenderer when in dev mode Use structlog.dev.ConsoleRenderer when in local dev mode Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer experience Anything that improves the experience for Warehouse devs feature request help needed We'd love volunteers to advise on or help fix/implement this.
Projects
None yet
Development

No branches or pull requests

1 participant