Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12163

Log messages without prefixed id code in artemis-commons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 7.1.0.DR8, 7.1.0.DR18
    • Fix Version/s: None
    • Component/s: ActiveMQ
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide

      Run following command in Artemis root directory

      find -name "*.java" | grep -i -E -v "test|example|junit" | xargs grep -i -E "LOG(GER)*\.error\(|LOG(GER)*\.warn\(|LOG(GER)*\.info\("
      
      Show
      Run following command in Artemis root directory find -name "*.java" | grep -i -E -v "test|example|junit" | xargs grep -i -E "LOG(GER)*\.error\(|LOG(GER)*\.warn\(|LOG(GER)*\.info\("

      Description

      Log message should contain its identifier followed by text description. It should look like following one:

      AMQ221003: Deploying queue jms.queue.DLQ
      

      However, some of log messages doesn't follow this "id: description" pattern. Attachment [^incorrect_logs.txt] contains list of places, where log message without prefixed id is logged. It contains only log messages for error, warn and info level.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              treblereel Dmitrii Tikhomirov
              Reporter:
              treblereel Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: