[AGENT++] Loging in Files
Brunck, Holger
holger.brunck at keymile.com
Tue Jun 15 16:02:51 CEST 2004
Hello,
I'm using the SNMP Master Agent. It works fine but I can't find out who to
adjust the agent, for logging all messages into a file instead of stdout.
At this time I'm using the DefaultLog
DefaultLog::log()->set_filter(ERROR_LOG, 2);
DefaultLog::log()->set_filter(WARNING_LOG, 2);
DefaultLog::log()->set_filter(EVENT_LOG, 5);
DefaultLog::log()->set_filter(INFO_LOG, 5);
DefaultLog::log()->set_filter(DEBUG_LOG, 5);
How can I setup an own log that logs everything into a file?
Kind regards
Holger Brunck
More information about the AGENTPP
mailing list