[
https://issues.apache.org/jira/browse/FELIX-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150339#comment-17150339
]
Tom Watson commented on FELIX-6293:
-----------------------------------
The thing I find annoying about the current (spec'ed) behavior is that it is
next to impossible to enable debug for ONLY SCR stuff. My suggestion is
slightly different than what I think you are suggesting. Instead of a single
logger name for SCR I suggest specifying a prefix that is used for all logger
names. This way we still can control enabling debug for individual logger
component names, but we can also enable the "base" prefix logger name to enable
debug for all components without enabling the other debug loggers that may be
associated with the component name/class.
> Apache Felix SCR Logging
> ------------------------
>
> Key: FELIX-6293
> URL: https://issues.apache.org/jira/browse/FELIX-6293
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services (SCR)
> Reporter: Peter Kriens
> Priority: Minor
>
> Apache Felix SCR uses the component's logger name to find the level to log
> at. If the component happens to be on DEBUG, this then floods the log and
> makes it hard to debug the component.
> I'd like to add a System property that would provide the log name for SCR. If
> it is not set, the current behaviour is used.
> I can make this change if I get some feedback it is an acceptable idea.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)