Change logging on ia_addr message
Message about error with subcontainers is just debug, not a filtered by keyword debug. This (along with logging options set to high in the init script) made snmpd very chatty. Origin: upstream, http://sourceforge.net/p/net-snmp/patches/1322/ Bug-Debian: https://bugs.debian.org/684721 Reviewed-by: Craig Small <csmall@debian.org> Last-Update: 2019-10-10 Gbp-Pq: Name snmplib_error_subcontainer
This commit is contained in:
parent
ee89d11176
commit
a7a4ddc4d3
|
@ -334,8 +334,8 @@ int CONTAINER_INSERT_HELPER(netsnmp_container* x, const void* k)
|
||||||
if(x) {
|
if(x) {
|
||||||
int rc = x->insert(x,k);
|
int rc = x->insert(x,k);
|
||||||
if(rc)
|
if(rc)
|
||||||
snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n",
|
DEBUGMSGTL(("container:insert_helper", "error on subcontainer '%s' insert (%d)\n",
|
||||||
x->container_name ? x->container_name : "", rc);
|
x->container_name ? x->container_name : "", rc));
|
||||||
else {
|
else {
|
||||||
rc = CONTAINER_INSERT_HELPER(x->next, k);
|
rc = CONTAINER_INSERT_HELPER(x->next, k);
|
||||||
if(rc)
|
if(rc)
|
||||||
|
|
Loading…
Reference in New Issue