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

Data-Time Formate in HTML Layout

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.13.3
    • Fix Version/s: 2.14.0
    • Component/s: Layouts
    • Labels:
    • Flags:
      Important

      Description

      Hi Team,

      As per the documentation we have set the HTML layout as below:
      <HTMLLayout charset="UTF-8" title="Test Logs" locationInfo="true" />
      {{          }}
      In the HTML page, time stamp is not in proper format:

      Time Thread Level Logger Message
      350350462 HTTP Handler 10.170.233.124 WARN adminServer

      How to change date time format to custom timestamp.

       

      Thanks

      Karthick

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                karthikeyan.mourougane@voya.com karthikeyan Mourougane
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified