From e321bc467b95d052ba03f671604e0d8471167da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= Date: Thu, 3 Dec 2009 15:57:26 +0000 Subject: [PATCH] lower the default log level of snmpd to get rid of the debug messages --- net-snmp.spec | 1 + net-snmpd.init | 2 +- net-snmpd.sysconfig | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 1a83f1f..13993be 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -404,6 +404,7 @@ rm -rf ${RPM_BUILD_ROOT} * Wed Dec 2 2009 Jan Safranek 1:5.5-4 - fix udpTable indexes on big-endian systems (#543352) - fix snmptrapd init script to survive with empty /etc/sysconfig/snmptrapd +- lower the default log level of snmpd to get rid of the debug messages * Wed Nov 25 2009 Jan Safranek 1:5.5-3 - prepare the .spec file for review diff --git a/net-snmpd.init b/net-snmpd.init index 68e4a4e..6038c51 100755 --- a/net-snmpd.init +++ b/net-snmpd.init @@ -25,7 +25,7 @@ . /etc/init.d/functions -OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid" +OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid" if [ -e /etc/sysconfig/snmpd ]; then . /etc/sysconfig/snmpd fi diff --git a/net-snmpd.sysconfig b/net-snmpd.sysconfig index 8911ab2..8b1791f 100644 --- a/net-snmpd.sysconfig +++ b/net-snmpd.sysconfig @@ -1,2 +1,2 @@ # snmpd command line options -# OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid" +# OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid"