Skip to content

Conversation

@m1a2st
Copy link
Collaborator

@m1a2st m1a2st commented Mar 20, 2025

clients-integration-tests modules doesn't have the log4j2.yaml to setting log, thus we should add.

Reviewers: TengYao Chi kitingiao@gmail.com, Chia-Ping Tsai chia7712@gmail.com

@github-actions github-actions bot added triage PRs from the community tests Test fixes (including flaky tests) clients small Small PRs labels Mar 20, 2025

Loggers:
Root:
level: ALL
Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, addressed it.

@github-actions github-actions bot removed the triage PRs from the community label Mar 21, 2025
Copy link
Contributor

@frankvicky frankvicky left a 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:
Copy link
Contributor

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?

Copy link
Member

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, addressed it

@chia7712 chia7712 merged commit 68ecb77 into apache:trunk Mar 21, 2025
23 checks passed
ShivsundarR pushed a commit to ShivsundarR/kafka that referenced this pull request Mar 26, 2025
)

`clients-integration-tests` modules doesn't have the `log4j2.yaml` to
setting log, thus we should add.

Reviewers: TengYao Chi <kitingiao@gmail.com>, Chia-Ping Tsai
<chia7712@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved clients small Small PRs tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants