Commit acdbc9c7 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

snmpd: in case logs are wrriten to a file, increase priority level to 5 - LOG_NOTICE

Otherwise "Received SNMP packet(s) from UDP" is written to file everytime the
agent is asked for the information - if we write to ramdisk, RAM becomes full
over the weekend.
parent c8503a0e
......@@ -31,7 +31,7 @@ start() {
LOG="";
elif echo "$WRS_LOG" | grep / > /dev/null; then
# if a pathname, use it
LOG="-Lf $WRS_LOG";
LOG="-LF 5 $WRS_LOG";
else
# not a pathname: use verbatim
LOG="-L$WRS_LOG"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment