Disable ABSL_LOG() prints from C libraries in Python

111 views Asked by At

One of the Python modules I use internally calls a C library interanlly that includes calls to ABSL_LOG(). This pollutes my stdout/err with lots of messages I don't want. I have been trying to redirect stdout/err using suggestions in this question but they don't seem effective for Abseil logs. Is there a more brutal way to disable these logs from python side?

0

There are 0 answers