Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-374

WARN level log message too verbose

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    Description

      The WARN message is too verbose. Its a log filler, and quickly becomes meaningless.

      http://pastebin.com/dKebwfFf

      Suggest:
      1. Reduce size of WARN message. A simple PrettyPrint would be nice. I'd be happy to work on any YANG required to define the message.

      2. Move verbose message to a different priority LOG level. I'm not sure how there is a smart way of doing this other than:
      log.WARN( pretty print)
      log.ERROR/DEBUG/something_other_than_warn( verbose message)

      Thank you!

      Please note, a WARNing is just that, a WARNing. If you think the level should be reset to a bona fide ERROR, then by all means, lets then track down why I am generating so many ERRORs, but WARNings I get to when I get to, and in the interim, it's making any use of the log for troubleshooting far more difficult than it should be.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alagalah Keith Burns
            alagalah Keith Burns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: