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

Data-Time Formate in HTML Layout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.13.3
    • 2.14.0
    • Layouts
    • 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

              Unassigned Unassigned
              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