You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "CRANNEY, John" <jc...@westpac.com.au> on 2002/01/14 00:45:08 UTC
RE: HTMLPatternLayout
Yep, we played with it but it wasn't customizable enough. Actually I got my
subject line wrong: what we have written is an HTMLPatternLayout that we run
through a rolling file appender. It does a few things that the HTMLAppender
doesn't:
- Color coding of log messages by priority (really handy when scanning a
large log for fatals/errors if you've got debug on)
- Auto scroll to bottom on reload (tested in IE only at this point)
- Total customization of messages as it is a PatternLayout instead of an
appender
At the moment it's only been tested with IE but it looks OK in opera too.
Regards,
JC
-----Original Message-----
From: Ceki Gülcü [mailto:ceki@qos.ch]
Sent: Monday, 14 January 2002 10:13
To: Log4J Developers List
Subject: Re: HTML Appender
Have you seen the HTMLAppender that ships with log4j?
At 10:06 14.01.2002 +1100, you wrote:
>> <<logSample.zip>>
>>
>> Hello all. Apologies if this is not the correct forum for these questions
>> but I can't find any answers on the log4j site.
>>
>> We have developed a HTML appender that we use for remote monitoring.
Among
>> other things it color codes by priority making fatals and errors stand
>> out. (sample log attached). We find it a lot more flexible than the
>> existing HTML layout.
>>
>> My questions are as follows:
>>
>> 1) Is this worth contributing back to the project, ie is anybody
>> interested in using this?
>> 2) If this is worth using, how do I contribute it? I have no CVS access
as
>> I am behind a firewall
>> 3) At the moment it work fine, however I have the feeling that it could
be
>> made a tad more elegant if I understood more about PatternParsers. If I
>> contribute the code can somebody else look at it and advise me?
>>
>> Cheers
>>
>> JC
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Ceki Gülcü - http://qos.ch
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>