could you announce it on this list when it is released ?
thanks
Maarten

On 2/10/07, Traeder, Philipp <[EMAIL PROTECTED]> wrote:

>     Is there something in java for log4j similar to this web interface
> that exists for l4n ?
>
>     http://www.l4ndash.com/

Hi Ricardo,

I'm working on a similar project right now.

The idea is like this: There's a separate application (working title
"Logpool") that's listening on some TCP ports.
You add a SocketAppender to your application's log4j configuration
(preferably using an AsyncAppender
so that your application does not block when there's a problem in the
receiving end), thus relaying all interesting
messages to the Logpool. There the messages are categorized so that you
can group messages by their "type" and
written into a (MySQL) database. The Logpool includes a Web Interface
(which is the part I'm writing right now) where
you can view your messages in row format or as a summary (e.g. grouped by
host, message type etc.).

I'm using this setup since ~ one year in the company I'm working for,
processing all messages >= WARN for
approx. 60 servers, and it's a big help to see what's going wrong in your
application. So far, the summary is sent every
morning by mail and looks something like this:

Logpool Message Type Statistics:
================================
Source : ServicePool
From   : 21.01.2007 08:00:07
To     : 22.01.2007 08:00:07

(3255) de.is24.mtier.apiImpl.operation.RequestServiceOP (ERROR)
RequestServiceImpl.calcStatisticB: Transaction 1002, Open, Invalid,
Thread[RequestProcessor-15,10,main], No Connection,
82E529FB2B55A0E55A67AEA892BBE005.worker1, 168259187
Attribute (String)city in Memento :Information:RealEstate: has invalid
content
        at de.is24.mtier.index.IndexQuery.transformGeoInfo(IndexQuery.java
:800)
        [..more stacktrace...]

( 397) de.is24.mtier.apiImpl.operation.RequestServiceOP (ERROR)
RequestServiceImpl.directRequestPageB: Transaction 152717, Open, Valid,
Thread[RequestProcessor-1461,10,main], No Connection,
74C966B1A26F264D2850DF8C30246225.worker2, 168259187
Attribute (currency range)sitePrice in Memento :Information:RealEstate: is
missing
        at de.is24.corba.api.MementoWrapper.getCurrencyRangeAttr(
MementoWrapper.java:1183)
        [..more stacktrace...]

[..]

I'm planning to release a new version including a web interface by end of
february - if you're interested, drop me a mail and I'll let you know once I
have
completed something that's working.

Cheers,
Philipp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to