Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Print events in json format but on new lines #102

Open
sameerpanicker opened this issue Aug 19, 2020 · 0 comments
Open

Print events in json format but on new lines #102

sameerpanicker opened this issue Aug 19, 2020 · 0 comments

Comments

@sameerpanicker
Copy link

sameerpanicker commented Aug 19, 2020

Can anyone please let me know how can we print logs on each line but with json format. JsonEventTextFormatter prints the logs in json format but all the logs are printed in same line with an comma separator.

image

eventTextFormatter verbosityThreshold="Critical" -> Can be set for the logs to be printed on individual lines. Is there a good way to print each log on new line as mentioned below with JsonEventTextFormatter ?

image

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

No branches or pull requests

1 participant