Hello.
I am trying to configure an HTML appender. However I cannot find any
examples or documentation on using html appenders. I have included the
configuration that I am using now:
<appender name="HtmlAppender"
class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="/log/ShortResults.html"/>
<param name="DatePattern" value="'.'yyyy-MM-dd'.html'"/>
<layout class="org.apache.log4j.HTMLLayout"/>
</appender>
Basically the format of the log file is:
Time | Thread | Level | Category | Message
However:
- time is expressed as milliseconds: 53772647. I would like
something like: 15:58:15.582
- Thread, Level and Category are not useful and I would like to
suppress them
So, I was wondering if anyone has an example of full configuration for an
html appender.
Thanks in advance.
Adam Alex.