Disable traps logging to snmptrapd.log, except to mysql

vastik <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear all

I enabled in snmptrap.conf logging to mysql, and it work without any problems.
But traps also fill local snmptrapd.log file.

There is an option:
doNotLogTraps yes
  disables the logging of notifications altogether. This is useful if the snmptrapd application 
should only run traphandle hooks and should not log traps to any location.

But I think that disables mysql logging as well.


So my question is:
Is there a way to disable logging only to snmptrapd.log?

Thanks.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.