You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Matt Sicker (Jira)" <ji...@apache.org> on 2020/10/04 01:09:00 UTC

[jira] [Resolved] (LOG4J2-2889) Data-Time Formate in HTML Layout

     [ https://issues.apache.org/jira/browse/LOG4J2-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker resolved LOG4J2-2889.
---------------------------------
    Fix Version/s:     (was: 2.13.3)
                   2.14.0
       Resolution: Fixed

Merged to release-2.x and master. Please verify and close.

> Data-Time Formate in HTML Layout
> --------------------------------
>
>                 Key: LOG4J2-2889
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2889
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Layouts
>    Affects Versions: 2.13.3
>            Reporter: karthikeyan Mourougane
>            Priority: Blocker
>              Labels: easyfix
>             Fix For: 2.14.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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|{color:#993300}*WARN*{color}|adminServer|
> How to change date time format to custom timestamp.
>  
> Thanks
> Karthick



--
This message was sent by Atlassian Jira
(v8.3.4#803005)