Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8505

SNMP4J logging is not enabled on Minion

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - Feb 15th

      Description

      In OpenNMS, we set a system property to configure SNMP4J to log to a log4j logger. We should do the same thing on Minion because otherwise no logging occurs inside SNMP4J.

      This can be done via a system property:

      # By default, SNMP4J does not do any logging internally, but it's easy to
      # enable.  See log4j.properties to adjust log levels for these messages.
      snmp4j.LogFactory=org.snmp4j.log.Log4jLogFactory
      

      or programmatically before the SNMP4J classes load:

      LogFactory.setLogFactory(new Log4jLogFactory());
      

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              seth Seth Leger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: