Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2250

Need ISO8601 timestamp for StatusLogger

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.0
    • 2.11.0, 3.0.0
    • Core
    • None

    Description

      We use a log-indexing system that uses the date-format to see where next log line begins.

      And have a requirement to standardize on ISO8601 format. But the lines written by StatusLogger when Log4j2 has a different format. I would like a configuration option that could specify the format. i.e.

      <configuration verbose="true" status="trace" dateformat="ISO8601" >
      ...
      ...
      </configuration>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rpopma Remko Popma
            atokle Atle Tokle
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment