[ https://issues.apache.org/jira/browse/UIMA-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854878#comment-15854878 ]
Marshall Schor commented on UIMA-5293: -------------------------------------- Support was added in two styles for slf4j: non-eclipse plugin style, and eclipse-plugin-style. The non-plugin style: uimaj-core has dependencies on slf4j-api, slf4j-core (needed to set levels and other things), log4j 2 core and api (for current UIMA logging facade implementation). These jars plus the binding for slf4j to log4j 2 jar are packaged to ship with the "binary" distribution of UIMA. For the Eclipse plugin - the uimaj-ep-runtime plugin includes uimaj-core, which has the above 4 dependencies. These are excluded using maven exclude statements; the runtime plugin instead has a OSGi dependency on "org.eclipse.m2e.logback.feature.feature.group"; this (not confirmed yet) is expected to supply the slf4j bindings and the logback backend for this, like it does for the m2e plugin. The bundle instructions for the uimaj-ep-runtime were updated to specify the classes org.apache.logging.log4j* to be "optional". > uv3 logging upgrade > ------------------- > > Key: UIMA-5293 > URL: https://issues.apache.org/jira/browse/UIMA-5293 > Project: UIMA > Issue Type: Improvement > Components: Core Java Framework > Affects Versions: 3.0.0SDK-alpha > Reporter: Marshall Schor > Assignee: Marshall Schor > Priority: Minor > Fix For: 3.0.0SDK-beta > > > Upgrade logging per discussion on dev mailing list, including upgrading > existing log4j adapter to support log4j 2, and adding slf4j support. -- This message was sent by Atlassian JIRA (v6.3.15#6346)