[LOGBack-dev] HTMLlayout
Oussama Renuli
Oussama.Renuli at uv.rub.de
Wed Jul 19 12:45:48 CEST 2006
Hallo,
> 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 ?
> 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)
>
my log4j.properties file:
> log4j.rootLogger=DEBUG,A
> log4j.appender.A=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.A.datePattern='.'yyyy-MM-dd
> log4j.appender.A.file=Logs\\MeineLogDatei.html
> log4j.appender.A.layout=org.apache.log4j.HTMLLayout
> log4j.appender.A.layout.LocationInfo=false
> log4j.appender.A.layout.Title=My Log Errors
>
> my mailadress is:oussama.renuli at uv.rub.de
>
> please help !
>
>
>
> ------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-dev/attachments/20060719/13ec722d/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 2359350 bytes
Desc: not available
Url : http://qos.ch/pipermail/logback-dev/attachments/20060719/13ec722d/attachment.bin
More information about the logback-dev
mailing list