Skip to content

Make the logger JSON friendly #1814

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

Open
kraih opened this issue Jul 6, 2021 · 0 comments
Open

Make the logger JSON friendly #1814

kraih opened this issue Jul 6, 2021 · 0 comments

Comments

@kraih
Copy link
Member

kraih commented Jul 6, 2021

I'm quite happy with the mojo.js logger. It uses a JSON friendly data structure for context information. That makes JSON logging and support for custom formatters very easy. I think we should bring most of that to Mojolicious too. Unfortunately it will require breaking changes, so we'll have to do it in a major release or with a second module for the deprecation period (Mojo::Logger?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant