Skip to content
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

Excessive DEBUG logging by Kafka consumer #1488

Open
mingfang opened this issue Jan 25, 2020 · 1 comment
Open

Excessive DEBUG logging by Kafka consumer #1488

mingfang opened this issue Jan 25, 2020 · 1 comment

Comments

@mingfang
Copy link

When using the Kafka connector OBP_CONNECTOR = "kafka_vSept2018"
I'm seeing a constant stream of debugging logs like this

06:10:37.788 [Thread-12] DEBUG org.apache.kafka.clients.consumer.internals.Fetcher - [Consumer clientId=consumer-1, groupId=obp-api-north.side.consumer] Added READ_UNCOMMITTED fetch request for partition to.obp.api.0.caseclass.OutboundGetAccounts-0 at offset 0 to node kafka-0.kafka.obp-example.svc.cluster.local:9092 (id: 1001 rack: null)

I tried and unable to turn the logs off by setting

OBP_LOGGER_LOGLEVEL = "INFO"
OBP_AKKA_CONNECTOR_LOGLEVEL = "INFO"

How do I silence the Kafka DEBUG logs?

@mingfang
Copy link
Author

My solution is specific to my Kubernetes setup but serve as a good reference
https://github.com/mingfang/terraform-k8s-modules/blob/master/modules/open-banking-project/logback.xml

Basically I added this to /jetty/resources/logback.xml

  <logger name="org.apache.kafka" level="INFO"/>
  <logger name="org.apache.kafka.common.metrics" level="INFO"/>

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

No branches or pull requests

1 participant