Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse RCP Application cannot find logback implemenmtation(SLF4j cannot load logback implementation)
Eclipse RCP Application cannot find logback implemenmtation [message #1853288] Sun, 26 June 2022 16:06 Go to next message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
Hello community

I tried to use slf4k + logback in my RCP application. But on start i obtain the following message
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.


If I am not mistake it means that application cannot load logback implementation and go to not-operation logger.
I use the following article as instruction https://www.vogella.com/tutorials/EclipseLogging/article.html

My plugin.xml and product file have been attached.
I need some piece of advises : how to resolve this situation.

I use latest version of eclipse -rcp 2022-06

Thank you in advance
Alexander

[Updated on: Mon, 27 June 2022 09:59]

Report message to a moderator

Re: Eclipse RCP Application cannot find logback implemenmtation [message #1853344 is a reply to message #1853288] Tue, 28 June 2022 15:20 Go to previous message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
I decided to use workaround for this issue : I use log4j 2 without slf4j. This workaround correctly exclude one minor issue : log4j 2 does not want to write in log file in case path to file is relative, something like : ./logs/mylog.log
Previous Topic:How do I sign Jars when exporting an Eclipse RCP product?
Next Topic:unable to load plugins from http://download.eclipse.org/releases/kepler
Goto Forum:
  


Current Time: Wed Oct 09 14:01:50 GMT 2024

Powered by FUDForum. Page generated in 0.03263 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top