logging event only

Frank Fock Frank.Fock____t-online.de
Mon Jul 9 01:30:13 CEST 2001


Hi Niraj,

The below code snip would do the trick:
#ifndef _NO_LOGGING
 DefaultLog::log->set_filter(ERROR_LOG, 0);
 DefaultLog::log->set_filter(WARNING_LOG, 0);
 DefaultLog::log->set_filter(EVENT_LOG, 16);
 DefaultLog::log->set_filter(INFO_LOG, 0);
 DefaultLog::log->set_filter(DEBUG_LOG, 0);
#endif

Best regards,
Frank

Niraj Mansingka wrote:

> Hi Frank and all,
>
> How do I set the flags so that only the EVENT_LOG goes to the file? Please note that I do not want any DEBUG_LOG.
>
> TIA
> Niraj




More information about the AGENTPP mailing list