[ 
https://issues.apache.org/jira/browse/FELIX-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150414#comment-17150414
 ] 

Tom Watson commented on FELIX-6293:
-----------------------------------

Yes, something like that although we may want to consider logger names like 
`org.apache.felix.scr.impl` for the logging done by SCR implementation when 
there is no associated component logger and 
`org.apache.felix.scr.component.<component-name>` when we are logging on behalf 
of a component.

This allows for things like org.apache.felix.scr.component=TRACE to enable all 
component tracing without enabling tracing done by SCR itself.

> 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)

Reply via email to