Article 6FDCM Suppress console error message from libxml2 how?

Suppress console error message from libxml2 how?

by
sysrpl
from LinuxQuestions.org on (#6FDCM)
In my Linux program that relies on libxml2 I keep seeing messages about the library hitting debug breakpoints, and xmlfree messages. I want to suppress those messages from appearing as part of the output of my program.

I have tried using xmlSetStructuredErrorFunc but my handler is never invoked. What can I do to suppress these messages?

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments