Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix enabling logging in an OSGi environment
Currently, within an OSGi environment (such as apache karaf e.g.), when logging is requested through configuration, enabling it will fail inside LoggerFactory with "Logging cannot be activated, missing slf4j dependency" always. This is due to the fact that the OSGi Metadata you already generate is incorrect/missing something. This commit fixes this "Import-Package" statement by adding the org.slf4j package as an optional import package.
- Loading branch information