Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1522

add date to timestamp in default logger

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • Broker
    • None

    Description

      It would be good to include the date in the logging timestamp. I appreciate this can be derived from the log file postfix but in scenarios where you are only seeing snippets of log files or these log files are being manipulated later; it makes it much easier if the date is printed with the log entry.

      I understand people want to reduce log space but adding the date would avoid any potential ambiguity.

      current format

      11:56:49,051 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
      

      Suggested new format

      2017-11-24 15:24:11,803 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pgfox Pat Fox
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: