[AGENT++] debug messages
Jochen Katz
katz at agentpp.com
Wed Oct 15 23:04:34 CEST 2003
Henning Eggers schrieb:
>>>i'm still a bit new to SNMP++ and AGENT++. from reading the docs and
>>>going through the examples, i've managed to put together an agent, but i
>>>have a question -- how do i get rid of the DEBUG messages that get
>>>printed on the terminal screen? btw, i'm using RH9.
>>
>>for agent++ edit agent++.h: #define _NO_LOGGING
>>and for snmp++ make sure that you don't have _DEBUG defined.
>
>
> Changing the "debug_level" variable could help, too. Unfortunately, Snmp++
> contains quite a lot of debugprintfs with debug level "0". I once did a
You're right, these are the result of a search and replace from debug
messages that didn't use a level. Perhaps I should change all non "real
error" messages to at least 2. This should not be a big work, but will
improve the situation a lot.
Regards,
Jochen
More information about the AGENTPP
mailing list