-
Notifications
You must be signed in to change notification settings - Fork 477
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
Add possibility to configure log format #799 #2941
Conversation
@victoredvardsson: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
@victoredvardsson: There are no area labels on this PR. You can add as many areas as you see fit.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
/kind feature |
/area configuration |
…ogFormatter) is not undefined when function is called
Any news on this feature? It's very important for us |
aiming for |
Tested and works ✅ The only comments is that some log lines contain special characters or simply alot of information that we should use parameter instead of containing it all within the
We should add a type parameter Also some of the special characters get turned into the html safe equivalent (
We should just not use special characters in message objects as they add no value but this can be done in another PR as these are nothing to do with the actual PR just a side effect of legacy things. |
agree on both points
can we merge this and work on the above for 1.6.6 / 1.7.0 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tested 🦾
#799
logrus which is used as logging backend supports json formatter.
This change makes it possible to configure either text or json output.