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

Log messages without prefixed id code in artemis-rest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 7.1.0.DR8, 7.1.0.DR18
    • ActiveMQ
    • None
    • 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\("

      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.

              dtikhomi@redhat.com Dmitrii Tikhomirov
              dtikhomi@redhat.com Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: