add logging callback for older librdkafka as well