Skip to content

Remove setting log level in the constructor #136

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

Merged
merged 1 commit into from
Nov 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/consumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ Consumer::Consumer(Configuration config)
}
rd_kafka_poll_set_consumer(ptr);
set_handle(ptr);
set_log_level(LogLevel::LogErr);
}

Consumer::~Consumer() {
Expand Down
1 change: 0 additions & 1 deletion src/producer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ Producer::Producer(Configuration config)
throw Exception("Failed to create producer handle: " + string(error_buffer));
}
set_handle(ptr);
set_log_level(LogLevel::LogErr);
}

void Producer::set_payload_policy(PayloadPolicy policy) {
Expand Down