You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Oussama Renuli <Ou...@uv.rub.de> on 2006/06/14 10:14:51 UTC

Re: is millisecond supported? please help

hello,

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

this is my log-file:


log4j.rootLogger=DEBUG,A
log4j.appender.A=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A.datePattern='.'yyyy-MM-dd
log4j.appender.A.file=MeineLogDatei.html
log4j.appender.A.layout=org.apache.log4j.HTMLLayout
log4j.appender.A.layout.LocationInfo=false
 
so i want that timeformat in HH:mm und not in ms
 how do i do that ?
 please do reply

my mail is vatlieb@gmail.com.

thank you.