title: SNMP TRAPS sending to other file, than /var/log/messages
body: <p>I have configuration 
  <strong>snmptrapd.conf</strong> like below:</p>
  
  <pre><code>disableAuthorization yes
  authCommunity log,execute,net public
  </code></pre>
  
  <p>I wanted to redirect all messages for other file, ex. <strong>/var/log/snmp.log</strong>, not for <strong>/var/log/messages</strong>. I tried also reconfigure <strong>rsyslog.conf</strong> file: </p>
  
  <pre><code>snmp.*                                              /var/log/snmp.log
  </code></pre>
  
  <p>but I have error like that</p>
  
  <pre><code>sie 17 12:50:47 snmp rsyslogd[20398]: unknown facility name "snmp" [v8.24.0]
  </code></pre>
  
  <p>My question is, how to redirect all SNMP traps to other file by using <strong>rsyslog.conf</strong> or <strong>snmptrapd.conf</strong></p>
  
  <p>I know, that I can save output manually by using command like below, but I need working deamon as a service, not a single command from bash shell.</p>
  
  <pre><code>snmptrapd -f -Le -A -Lf /var/log/snmptrapd.log
  </code></pre>