You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2016/03/08 21:26:40 UTC

[jira] [Commented] (LOG4J2-516) As a developer using OSGi, I want to use Log4J as my OSGi Log Service

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

Matt Sicker commented on LOG4J2-516:
------------------------------------

Well, there are two approaches now:

# pax-logging-log4j2 already supports this, so don't bother
# add support for LogService and optionally the knoplerfish one that pax-logging also exports

> As a developer using OSGi, I want to use Log4J as my OSGi Log Service
> ---------------------------------------------------------------------
>
>                 Key: LOG4J2-516
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-516
>             Project: Log4j 2
>          Issue Type: Story
>          Components: Core
>         Environment: Felix, Equinox, OSGi
>            Reporter: Matt Sicker
>              Labels: osgi
>
> See [the javadocs|http://www.osgi.org/javadoc/r5/cmpn/org/osgi/service/log/package-summary.html] for some details. I'd like to be able to import the log service bundle and be able to use Log4J as the backend if it has been registered in OSGi.
> This would require a module that adapts the logging infrastructure to OSGi's logging service. I think that would be a good addition to the bundles exported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org