Shared Library is outputting into stdout
<p>I'm writting an application in C++ that must use the stdout to output responses (it is a CGI-BIN daemon called from Apache web server, and the Apache gets the stdout of the binary as a response).</p>

<p>The big problem is that I'm using a Shared Library and it outputs logs into the stdout as well, those logs go straight to the http client making it unable to parse the actual HTTP responses.</p>

<p>My question is, is there any way I can suppress those outputs coming from the shared library?</p>

<p>PS: I'm running it on Linux and using *.so libraries</p>

<p>Thanks in advance</p>