<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hallo,<br>
<blockquote cite="mid44770493.1040504@uv.rub.de" type="cite">
<p>i have to set timestamp format in HTMLLayout in log4j.. currently
it displays time in milliseconds however i want it in my own format by
changing configuration in .properties file , how do i do that ?
<br>
i send you a example from my logfile as bmp. in the first table you see
the time in (example 1212 ) in millisecond, know i want it in this
format HH:mm (like 21:15)
<br>
</p>
</blockquote>
<br>
my log4j.properties file:<br>
<blockquote cite="mid44770493.1040504@uv.rub.de" type="cite">
<p>log4j.rootLogger=DEBUG,A<br>
log4j.appender.A=org.apache.log4j.DailyRollingFileAppender<br>
log4j.appender.A.datePattern='.'yyyy-MM-dd<br>
log4j.appender.A.file=Logs\\MeineLogDatei.html<br>
log4j.appender.A.layout=org.apache.log4j.HTMLLayout<br>
log4j.appender.A.layout.LocationInfo=false<br>
log4j.appender.A.layout.Title=My Log Errors <br>
</p>
</blockquote>
<br>
<blockquote cite="mid44770493.1040504@uv.rub.de" type="cite">
<p>my mailadress <a class="moz-txt-link-abbreviated" href="mailto:is:oussama.renuli@uv.rub.de">is:oussama.renuli@uv.rub.de</a><br>
</p>
</blockquote>
<br>
<blockquote cite="mid44770493.1040504@uv.rub.de" type="cite">
<p>please help !
<br>
<br>
<br>
<br>
</p>
</blockquote>
<blockquote cite="mid44770493.1040504@uv.rub.de" type="cite">
<hr size="4" width="90%"><br>
<center><img src="cid:part1.00050700.03060606@uv.rub.de"></center>
</blockquote>
<br>
</body>
</html>