You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my particular situation, I need to redirect logging to a queue so that it can be handled with the proper thread. It works fine except for one thing. I assumed I could call
rd_kafka_log_print()
to add me own logging messages. However, these messages never go to the queue and looking at the code it looks like it always goes to stderr. I'm trying this as I want my log messages to appear in the proper order of when they are set. However, that doesn't look possible. Is there no public API to log messages that go to librdkafka's logging queue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my particular situation, I need to redirect logging to a queue so that it can be handled with the proper thread. It works fine except for one thing. I assumed I could call
rd_kafka_log_print()
to add me own logging messages. However, these messages never go to the queue and looking at the code it looks like it always goes to stderr. I'm trying this as I want my log messages to appear in the proper order of when they are set. However, that doesn't look possible. Is there no public API to log messages that go to librdkafka's logging queue?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions