Skip to main content



      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 12:06 Go to next message
Eclipse UserFriend
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 05:59] by Moderator

Re: Eclipse RCP Application cannot find logback implemenmtation [message #1853344 is a reply to message #1853288] Tue, 28 June 2022 11:20 Go to previous message
Eclipse UserFriend
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: Tue Mar 11 07:21:42 EDT 2025

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

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

Back to the top