Hello!
Using
snmpd -f -LSwd -LFi /var/log/snmp/snmpd.log< (or: -LF6)
does not produce an outputfile at all, while
snmpd -f -LSwd -Lf /var/log/snmp/snmpd.log
does.
According to the documentation it should.
Staying with "-Lf" just give no information about the level/severity of logentries.
The same mechanisme works well with syslog.
This is
NET-SNMP version: 5.7.3 on debian stretch (4.17.0-0.bpo.1-amd64)
Regards,
Manfred
You need to use spaces between LF and i, or no spaces between i and the filename
"-LF<space>i<space>/var/log/snmp/snmpd.log"
or
"-LFi/var/log/snmp/snmpd.log" </space></space>
Last edit: Anders Wallin 2019-01-18