[AGENT++] Reduce debug output

Frank Fock fock at agentpp.com
Wed Nov 15 22:30:58 CET 2006


Hello Johnny,

The set_filter approach should work! In addition,
you can include the agentpp_config_mib module into
your Mib to control the log levels via SNMP at
runtime.

Best regards,
Frank

Johnny Ljunggren wrote:
> Hello all
> 
> There is a lot of debug output coming out of my agent, and the only way to
> turn it off has been to compile the agentpp libraries without debug
> output.
> Is there a way of doing this in my agent?
> Didn't have much luck with DefaultLog::log()->set_filter(...)
> 
> regards

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list