-
Notifications
You must be signed in to change notification settings - Fork 14.9k
MINOR: add log4j2.yaml to clients-integration-tests module #19252
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
Conversation
|
|
||
| Loggers: | ||
| Root: | ||
| level: ALL |
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.
maybe INFO is good enough. WDYT?
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.
Sure, addressed it.
frankvicky
left a comment
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.
@m1a2st : Thanks for the patch.
| PatternLayout: | ||
| pattern: "${logPattern}" | ||
|
|
||
| Loggers: |
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.
Do we need the logger org.apache.kafka just like the client module?
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.
The log will be too large if we use INFO level. Could you please use the following levels (same as core)
Loggers:
Root:
level: OFF
AppenderRef:
- ref: STDOUT
Logger:
- name: kafka
level: WARN
- name: org.apache.kafka
level: WARN
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.
Sure, addressed it
clients-integration-testsmodules doesn't have thelog4j2.yamlto setting log, thus we should add.Reviewers: TengYao Chi kitingiao@gmail.com, Chia-Ping Tsai chia7712@gmail.com