<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 11 juin 2019 16 h 40, Michael Gruner <<a href="mailto:michael.gruner@ridgerun.com">michael.gruner@ridgerun.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">You can set the GST_DEBUG_FILE env variable to that the output get’s written to a file, instead of stderr. Then your app could consume that. <div><br></div><div>Another rather complex alternative is to create your own log handler. Take a look at:</div><div><br></div><div><a href="https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#gst-debug-add-log-function" target="_blank" rel="noreferrer">https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#gst-debug-add-log-function</a></div><div><a href="https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#GstLogFunction" target="_blank" rel="noreferrer">https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#GstLogFunction</a></div><div><br></div><div>This way you app could install a callback and filter out every tracer logs received.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I also think that long term we need tracer specific hook, so we could avoid parsing log strings and could implement sysprof and other trace formats.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><div><br><blockquote type="cite"><div>On Jun 11, 2019, at 11:19 AM, clubberlang <<a href="mailto:taoming29@gmail.com" target="_blank" rel="noreferrer">taoming29@gmail.com</a>> wrote:</div><br class="m_-1250908259393468722Apple-interchange-newline"><div><div>Hey Nicolas,<br><br>Thanks for the information! I am wondering if it's possible to propagate<br>this message to the application level? i.e. Is it possible to post this<br>information to the BUS maybe or somewhere similar so that the application<br>level can get this information?<br><br><br><br>--<br>Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank" rel="noreferrer">http://gstreamer-devel.966125.n4.nabble.com/</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank" rel="noreferrer">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></div></blockquote></div><br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>