@Galder, does JBoss Logging have support for what Mircea mentioned below?
On 27 Apr 2011, at 13:21, Olaf Bergner wrote:
Silly me, forgot the link:
http://logback.qos.ch/manual/mdc.html.
Am 27.04.11 16:55, schrieb Mircea Markus:
> Hi,
>
> I'm looking into some logs for the a JBW demo : it has 4 caches deployed on each
node and lots of topology changes happen. It's close to impossible to tell which log
pertains to which cache, especially around the DistributionInterceptorImpl.
> Wouldn't it make sense that, for certain components, to include the name of the
cache in the logs? IThis might be achieved with minimal changes by adding an additional
param to the LogFactory.getLog(Class) method and let the logger itself do the heavy
lifting.
> e.g.
> Log l = LogFactory.getLog(DistributionManagerImpl.class, "cacheName");
> and on each call l.trace("A message") the logger might output, besides
underlying log's format, the string "[cacheName] A message".
>
> Wdyt?
> Cheers,
> Mircea
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev