Bug #3391

Import, slf4j logs warning messages

Added by Serge Heiden 4 months ago. Updated 2 months ago.

Status:New Start date:05/22/2023
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Update Spent time: -
Target version:TXM 0.8.4

Description

Import multiple error messages.

Also log system broken:

  • SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

Full console content:

Démarrage de TXM 0.8.3 (2023-05-11 14h24)…
TXM is running in test mode. This mode is not intendend to be used to work.
Looking for TXM updates...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Solution

The slf4j.api is looking for an implementation of org.slf4j.impl.StaticLoggerBinder and :
  • does not find one
  • OR failed to instanciate it

Adding one of the StaticLoggerBinder implementation jar to the "org.txm.rcp" libs does not fix the problem: slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar

Adding the org.slf4j.api to the dependant plugins of org.rxm.rcp does not fix the problem.

History

#1 Updated by Matthieu Decorde 4 months ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde 4 months ago

  • Target version changed from TXM 0.8.3 to TXM 0.8.4

#3 Updated by Matthieu Decorde 2 months ago

  • Subject changed from update broken & log broken to Import, slf4j logs warning messages
  • Description updated (diff)

Also available in: Atom PDF