[AGENT++] (no subject)
Jerry OELoo
oyljerry at hotmail.com
Sat Jul 31 10:48:51 CEST 2004
hi all
I have add the log into my program,here is a snapshoot:
AgentLogImpl* log = new AgentLogImpl( "snmplog.log" );
DefaultLog::init( log );
DefaultLog::log()->set_filter(ERROR_LOG, 2);
DefaultLog::log()->set_filter(WARNING_LOG, 4);
DefaultLog::log()->set_filter(EVENT_LOG, 4);
DefaultLog::log()->set_filter(INFO_LOG, 4);
DefaultLog::log()->set_filter(DEBUG_LOG, 9);
but when i run my program,i can find the snmplog.log in my file, but ,there
are nothing in it? so why?
Thanks for any help
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
More information about the AGENTPP
mailing list