Skip to content

Use JSON logging #514

Answered by maclermo
maclermo asked this question in Q&A
Discussion options

You must be logged in to vote

For anyone wondering, I had to set LOG_SERIALIZE to True (which is NOT documented) and I had to set LOG_FORMAT to an empty string to suppress duplicated log messages.

I am now able to read logs as JSON.

Please update the documentation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maclermo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant