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

Queued daemon seems to ignore loglevel

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 15.0.1
    • Fix Version/s: 16.0.0, Meridian-2015.1.1
    • Component/s: Logging
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:

      Description

      logfile OpenNMS.Queued.log contains debugging entries:

      2015-02-26 14:36:53,370 DEBUG [QueuingRrdStrategy-2] O.Queued: Error processing update for file /opt/opennms/share/rrd/response/176.28.12.131/smtp.jrb: 1424957813:70.693772
      org.jrobin.core.RrdException: Bad sample timestamp 1424957813. Last update time was 1424957813, at least one second step is required
      at org.jrobin.core.RrdDb.store(RrdDb.java:593) ~[jrobin-1.6.0.jar:1.6.0]
      at org.jrobin.core.Sample.update(Sample.java:221) ~[jrobin-1.6.0.jar:1.6.0]
      at org.jrobin.core.Sample.setAndUpdate(Sample.java:243) ~[jrobin-1.6.0.jar:1.6.0]
      at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.updateFile(JRobinRrdStrategy.java:237) ~[opennms-rrd-jrobin-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.updateFile(JRobinRrdStrategy.java:72) ~[opennms-rrd-jrobin-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy$UpdateOperation.process(QueuingRrdStrategy.java:517) [opennms-rrd-api-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy$1.run(QueuingRrdStrategy.java:1124) [opennms-rrd-api-15.0.1.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) [org.opennms.core.logging-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy.processPendingOperations(QueuingRrdStrategy.java:1103) [opennms-rrd-api-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy.run(QueuingRrdStrategy.java:1076) [opennms-rrd-api-15.0.1.jar:?]
      at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
      2015-02-26 14:36:53,372 DEBUG [QueuingRrdStrategy-2] O.Queued: Error updating file /opt/opennms/share/rrd/response/176.28.12.131/smtp.jrb: Error processing update for file /opt/opennms/share/rrd/re
      sponse/176.28.12.131/smtp.jrb: 1424957813:70.693772 [38.519 sec]
      2015-02-26 14:36:53,372 DEBUG [QueuingRrdStrategy-2] O.Queued: Error updating file /opt/opennms/share/rrd/response/176.28.12.131/smtp.jrb: Error processing update for file /opt/opennms/share/rrd/re
      sponse/176.28.12.131/smtp.jrb: 1424957813:70.693772
      java.lang.Exception: Error processing update for file /opt/opennms/share/rrd/response/176.28.12.131/smtp.jrb: 1424957813:70.693772
      at org.opennms.netmgt.rrd.QueuingRrdStrategy$UpdateOperation.process(QueuingRrdStrategy.java:521) ~[opennms-rrd-api-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy$1.run(QueuingRrdStrategy.java:1124) [opennms-rrd-api-15.0.1.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) [org.opennms.core.logging-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy.processPendingOperations(QueuingRrdStrategy.java:1103) [opennms-rrd-api-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy.run(QueuingRrdStrategy.java:1076) [opennms-rrd-api-15.0.1.jar:?]
      at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
      Caused by: org.jrobin.core.RrdException: Bad sample timestamp 1424957813. Last update time was 1424957813, at least one second step is required
      at org.jrobin.core.RrdDb.store(RrdDb.java:593) ~[jrobin-1.6.0.jar:1.6.0]
      at org.jrobin.core.Sample.update(Sample.java:221) ~[jrobin-1.6.0.jar:1.6.0]
      at org.jrobin.core.Sample.setAndUpdate(Sample.java:243) ~[jrobin-1.6.0.jar:1.6.0]
      at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.updateFile(JRobinRrdStrategy.java:237) ~[opennms-rrd-jrobin-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy.updateFile(JRobinRrdStrategy.java:72) ~[opennms-rrd-jrobin-15.0.1.jar:?]
      at org.opennms.netmgt.rrd.QueuingRrdStrategy$UpdateOperation.process(QueuingRrdStrategy.java:517) ~[opennms-rrd-api-15.0.1.jar:?]
      ... 5 more

      configuration file log4j2.xml tries to prohibit debugging messages:

      <KeyValuePair key="queued" value="WARN" />

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gschreiner Guenther Schreiner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: