[AGENT++] how to turn off DEBUG message
Jochen Katz
katz at agentpp.com
Wed Jun 18 23:06:08 CEST 2014
Hi,
> I get the following message while running my program:
>
> 20140618.12:22:55: 40 77 C6 0A B0 7F 00 00
> @w......
> : (4)DEBUG : SNMPMessage: return value for build message: (0)
>
> always if I invoke
>
> snmp.get(pdu, ctarget)
>
> How to turn off this behavior?
this depends:
If log profiles are enabled, use
DefaultLog::log()->set_profile("quiet")
Otherwise call
DefaultLog::log()->set_filter(xxx_LOG, 0)
for every log type you want to disable.
Regards,
Jochen
More information about the AGENTPP
mailing list