deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject logger injection
Date Mon, 19 Mar 2012 12:41:24 GMT
Hi,

injecting logger through cdi seems a common need.

i created https://issues.apache.org/jira/browse/DELTASPIKE-122 for this
topic.

IMHO injection of non static fields is not an issue since logging framework
generally cache loggers.

The gain is to avoid boilerplate code regarding the logger category (by
default).

This issue raises 2 questions:
1) what do you think of this feature and should DS support it?
2) if yes should it support multiple implementations? (a nice way could be
to subclass JUL lik ein cxf to provide specific logger for each
implementation type)

- Romain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message