commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LOGGING-124) Commons logging does not work in an osgi environment
Date Sat, 23 Feb 2013 13:52:13 GMT

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

Thomas Neidhart edited comment on LOGGING-124 at 2/23/13 1:51 PM:
------------------------------------------------------------------

Hi Christian,

thanks for your patch:

 * change the Bundle-SymbolicName to commons-logging is ok
 * update the packaging to bundle: why? what benefit does it bring?

Regarding your question:

The different jar versions do include a different set of classes:

 * full: everything
 * api: only the Log interface + core classes + SimpleLog + NoLog
 * adapters: only the adapters to actual Log implementations, e.g. Log4JLogger

now some of the things in the api also reside in the impl package which may look weird, but
thats the way it was before and can not change for 1.1.2.

Thomas
                
      was (Author: tn):
    Hi Christian,

thanks for your patch:

 * change the Bundle-SymbolicName to commons-logging is ok
 * update the packaging to bundle: why? what benefit does it bring?

Thomas
                  
> Commons logging does not work in an osgi environment
> ----------------------------------------------------
>
>                 Key: LOGGING-124
>                 URL: https://issues.apache.org/jira/browse/LOGGING-124
>             Project: Commons Logging
>          Issue Type: Improvement
>    Affects Versions: 1.1.1
>            Reporter: Christian Schneider
>         Attachments: LOGGING-124.patch
>
>
> Commons logging should provide Manifest information for using it as an OSGI bundle. Eventually
detection of logging engines and loading of configs should also be changed to make commons-logging
osgi ready.
> I have given this problem the critical priority as currently many people are working
on osgi projects and as many open source libs use commons-logging this is an important thing
to solve.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message