[ https://issues.apache.org/jira/browse/FELIX-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882779#comment-15882779 ]
Karl Pauls commented on FELIX-5525: ----------------------------------- Right, but we don't necessarily care about karaf only. I'm not saying it is a good idea to support other logging frameworks and I agree that if it is only one we support we probably should pick jul because it doesn't introduce much in terms of dependencies but then again, we used to just use the osgi logger interface which didn't require any dependencies. In other words, I'd propose for you to start a discussion on the dev list to see what others think before we go ahead with this change. > Allow to switch Logger to jul using a framework property > -------------------------------------------------------- > > Key: FELIX-5525 > URL: https://issues.apache.org/jira/browse/FELIX-5525 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-5.6.1 > Reporter: Christian Schneider > Fix For: framework-5.6.4 > > > In the issue FELIX-4871 there is some reflection code added to be able to use > a supplied logger for karaf. > Actually the only thing we do with this in karaf is to switch the logging to > use jul. So I propose we simply allow to switch felix to use jul by setting a > framework property: > felix.log.type=jul > By default felix will use stdout and if the property is set like above it > will log to jul. > This allows to remove all the reflection code in felix as well as in karaf. -- This message was sent by Atlassian JIRA (v6.3.15#6346)