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

provisiond logging to output.log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.9.3
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      3987

      Description

      There are a few instances in the provisiond sources that use System.err.println() and thus get logged to output.log:

      opennms-provision/opennms-provision-api/src/main/java/org/opennms/netmgt/provision/support/BaseDetectorHandler.java

      System.err.printf("Client Receiving: %s\n", message.toString().trim());

      opennms-provision/opennms-provisiond/src/main/java/org/opennms/netmgt/provision/service/NodeScan.java

      System.err.println("SNMPSNMPSNMP Found primary interface and SNMP service!!");

      opennms-provision/opennms-provisiond/src/main/java/org/opennms/netmgt/provision/service/NodeScan.java

      System.err.println("SNMPSNMPSNMP Failed to find primary interface and SNMP service!!");

      opennms-provision/opennms-detector-lineoriented/src/main/java/org/opennms/netmgt/provision/support/codec/TcpLineDecoder.java

      System.err.println("slice: " + in.slice());

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                ronald.roskens@biworldwide.com Ron Roskens
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: