I want to log messages from my Snmptrapd to a logfile, but my deamon don't understands the logOption token?
I try to use this line in my configuration (/etc/snmp/snmptrapd.conf):
logOption -f "/var/log/snmptrapd.log"
But I get this warning:
/etc/snmp/snmptrapd.conf: line 3: Warning: Unknown token: logOption
Does anyone know which option is valid? And how to log to an external file (and not the syslog).
I am using NET-SNMP Version: 5.7.3 and Ubuntu version 18.04.3.
Thank you for your help!