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

[Feature request] JSON logs #647

Open
arturohu opened this issue May 12, 2022 · 1 comment
Open

[Feature request] JSON logs #647

arturohu opened this issue May 12, 2022 · 1 comment
Assignees

Comments

@arturohu
Copy link

It would be great to have the possibility to set the console log format as JSON.

Something like a new environment variable to set the usual format or JSON.

@c0c0n3
Copy link
Member

c0c0n3 commented May 13, 2022

Hi @arturohu!

Thanks for your suggestion. At the moment, we have no resources to implement this feature but we welcome contribs!

Actually it shouldn't be too difficult to do, using e.g.

to add a new formatter here:

the JSON record should have the same content as that of the current formatter---i.e. it should be in line w/ the log content other FIWARE components output.

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

3 participants