[AGENT++] Disabling Logging from application using SNMP++ (win32)
Jochen Katz
katz at agentpp.com
Mon Mar 13 22:24:41 CET 2006
Hello again,
> When I compile under win32 after linking snmp_pp dynamically I get issues
> with:
>
> PollingClient error LNK2001: unresolved external symbol "protected: static
> class AgentLog * DefaultLog::instance"
> (?instance at DefaultLog@@1PAVAgentLog@@A)
this symbol is defined in log.cpp. So if this file is within your snmp++
project it must be resolvable. Is this the only linker error you get?
To disable all logging, you can activate the #define _NO_LOGGING in
config_snmp_pp.h. Lovering the level in the set_filter() calls will also
reduce logging output.
Regards,
Jochen
More information about the AGENTPP
mailing list