Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2001

[Logging] Provide mechanism to provide fixed log messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • Broker-J
    • None

    Description

      Summary:
      As highlighted in the Technical specification:
      http://cwiki.apache.org/confluence/display/qpid/Operational+Logging+-+Status+Update+-+Technical+Specification#OperationalLogging-StatusUpdate-TechnicalSpecification-Howtoprovidefixedlogmessages

      The logging design calls for the ablity to peform something similar to:

      String message = BrokerLogMessages.BRK-1001(version, build);
      Producing:
      BRK-1001 : Startup : Version: 0.6 Build: 794277

      Where the actual LogMessage is parameterized :
      BRK-1001 = Startup : Version

      {0}

      Build:

      {1}

      This has many benefits:

      • it easy to locate where a particular log messasge is sued
      • it makes updating the log messages straight forward.
      • it makes localisation easy

      Attachments

        1. QPID-2001-review.txt
          2 kB
          Marnie McCormack
        2. qpid-2001-response.txt
          2 kB
          Martin Ritchie

        Issue Links

          Activity

            People

              ritchiem Martin Ritchie
              ritchiem Martin Ritchie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: