With this patch, the message
"No log handling enabled - turning on stderr logging"
will be seen only when debugging is active and no log handling was enabled.
I would like this to be applied to both the V5-1-patches and the 5.2 release.
Comments ?
--- net-snmp/snmplib/snmp_logging.c 2004-10-13 22:37:00.799967040 -0400
+++ net-snmp/snmplib/snmp_logging.c 2004-09-29 20:35:06.000000000 -0400
@@ -1066,8 +1066,7 @@
*/
if (!logh_head) {
snmp_enable_stderrlog();
- if (snmp_get_do_debugging())
- snmp_log_string(LOG_WARNING,
+ snmp_log_string(LOG_WARNING,
"No log handling enabled - turning on stderr logging\n");
}
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
