[infinispan-dev] Event log

Gustavo Fernandes gustavo at infinispan.org
Fri Nov 13 08:53:39 EST 2015


On Fri, Nov 13, 2015 at 12:57 PM, Tristan Tarrant <ttarrant at redhat.com>
wrote:

> Hi guys,
>
> in order to keep track of notable events (nodes joining, leaving,
> rebalances, availability, task execution) and present them in the
> console I was thinking of using specific logging categories. These logs
> would be then collected by dedicated appenders on each node. The idea
> would then be to have some distexec tasks exposed to the management
> interface (console/CLI) which can query and aggregate the data.
> Initially I was thinking about using a local cache per-node with a SFCS,
> eviction, expiration and indexing and creating a log4j appender which
> writes to this cache, but probably a simpler lucene-based appender would
> suffice.
>

I'd favor using an indexed cache instead simple Lucene appenders, since
they
take care of querying, indexing and after all they expose the Lucene API if
needed.

Not sure about local caches, what about log retention when the node dies?

Gustavo


>
> WDYT ?
>
> Tristan
> --
> Tristan Tarrant
> Infinispan Lead
> JBoss, a division of Red Hat
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20151113/f0687480/attachment-0001.html 


More information about the infinispan-dev mailing list