deltaspike-dev mailing list archives

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

injecting logger through cdi seems a common need.

i created for this

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

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

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