You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "karthikeyan Mourougane (Jira)" <ji...@apache.org> on 2020/07/12 14:06:00 UTC
[jira] [Created] (LOG4J2-2889) Data-Time Formate in HTML Layout
karthikeyan Mourougane created LOG4J2-2889:
----------------------------------------------
Summary: 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
Fix For: 2.13.3
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)