You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/07 08:37:41 UTC

[jira] [Commented] (FELIX-5525) Allow to switch Logger to jul using a framework property

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

ASF GitHub Bot commented on FELIX-5525:
---------------------------------------

GitHub user cschneider opened a pull request:

    https://github.com/apache/felix/pull/89

    [FELIX-5525] Allow to switch to java util logging using a framework p…

    …roperty

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cschneider/felix FELIX-5525

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/felix/pull/89.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #89
    
----
commit 9e571237612b5af43837606b44967f76430aa21e
Author: Christian Schneider <ch...@die-schneider.net>
Date:   2017-02-07T08:33:08Z

    [FELIX-5525] Allow to switch to java util logging using a framework property

----


> 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.2
>
>
> 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:
> org.apache.felix.logging.system=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)