Debian Codegraph @

debian/patches/snmplib_error_subcontainer

raw
1 Description: Change logging on ia_addr message
2 Message about error with subcontainers is just debug, not a filtered by
3 keyword debug. This (along with logging options set to high in the init
4 script) made snmpd very chatty.
5 Author: Pik Master <[email protected]>
6 Origin: upstream, http://sourceforge.net/p/net-snmp/patches/1322/
7 Bug-Debian: https://bugs.debian.org/684721
8 Reviewed-by: Craig Small <[email protected]>
9 Last-Update: 2023-12-23
10 --- a/snmplib/container.c
11 +++ b/snmplib/container.c
12 @@ -341,8 +341,8 @@
13 if(x) {
14 int rc = x->insert(x,k);
15 if(rc)
16 - snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n",
17 - x->container_name ? x->container_name : "", rc);
18 + DEBUGMSGTL(("container:insert_helper", "error on subcontainer '%s' insert (%d)\n",
19 + x->container_name ? x->container_name : "", rc));
20 else {
21 rc = CONTAINER_INSERT_HELPER(x->next, k);
22 if(rc)