gst_debug_add_log_function for python bindings [gst 0.10]

Lautaro Woites lauchapc87 at
Fri Feb 28 10:42:21 PST 2014

Hi people,

I'm interested on have the last logs entries for a long running application.

I've tried to logrotate the logfile defined by GST_DEBUG_FILE but gstreamer
fills the file with a lot of garbage after the file is truncated. The
logfile still has the same size that had before truncate it. After the
trash that gstreamer writes it continues writing normal log entries.

I've seen that I can use gst_debug_add_log_function () but I'm on python
and seems that this function is not exported by the python's bindings.

Somebody has an approach or workaround for this situation?

Thanks a lot!

P.D: I'm using gst 0.10.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list