避免在Websphere Liberty概要文件的默认配置阶段创建slf4j/logback记录器

避免在Websphere Liberty概要文件的默认配置阶段创建slf4j/logback记录器,websphere,osgi,slf4j,websphere-liberty,Websphere,Osgi,Slf4j,Websphere Liberty,在Websphere Liberty Profile 8.5上部署Enterprise Bundle Archive-EBA(包含多个blueprint服务)时,我在启动时收到以下错误消息 [23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: The following loggers will not work because they were created [23/10/12 8:07:32:725 CEST] 0000001d

在Websphere Liberty Profile 8.5上部署Enterprise Bundle Archive-EBA(包含多个blueprint服务)时,我在启动时收到以下错误消息

[23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: The following loggers will not work because they were created
[23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: during the default configuration phase of the underlying logging system.
[23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
[23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: some.package.containing.blueprint.service.MyService1
[23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: some.package.containing.blueprint.service.MyService2
[23/10/12 8:07:32:725 CEST] 0000001d SystemErr R SLF4J: some.package.containing.blueprint.service.MyService3
尽管EBA运行良好,但不会为EBA中包含的所有blueprint服务生成日志输出。(因为它们被无操作记录器取代)

EBA使用OSGI企业包在WebSphere8.0上部署良好,日志记录工作正常

就日志记录而言,EBA包含logback core、logback classic、slf4j api和jcl-over-slf4j捆绑包

是否有任何方法可以从这些服务获取日志,而不必求助于中概述的解决方案?我希望维护可以部署在WebSphere8.0和WebSphereLiberty概要文件8.5上的相同EBA文件