[AGENT++] How to disable agent_pp log output?
Frank Fock
fock at agentpp.com
Tue Oct 17 19:10:04 CEST 2006
Hi Dario,
When you still get logging output from AGENT++
and you have defined _NO_LOGGING, then you have
*not* recompiled your sources.
Another option is to set the debug level of all
groups to zero (0).
You can change the levels at runtime through the
AGENTPP-CONFIG-MIB.
Best regards,
Frank
Dario maljur wrote:
> Hi
>
>
>
> I tried defining #define _NO_LOGGING, and I also tried to set
>
>
>
> DefaultLog::log()->set_filter(ERROR_LOG, 1);
>
> DefaultLog::log()->set_filter(WARNING_LOG, 1);
>
> DefaultLog::log()->set_filter(EVENT_LOG, 1);
>
> DefaultLog::log()->set_filter(INFO_LOG, 1);
>
> DefaultLog::log()->set_filter(DEBUG_LOG, 1);
>
>
>
> But stdout (console) still produces output.
>
> This is very annoying 'couse when using get_next it produces 'bout 1000
> lines of debugs and warnings.
>
>
>
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list