Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GlassFish » Glassfish 6.2.5 and SLF4j (Glassfish 6.2.5 - SLF4j with its implementation SLF4j-JDK14 is not working )
Glassfish 6.2.5 and SLF4j [message #1855555] Thu, 20 October 2022 10:43
Ejaz Ahmad is currently offline Ejaz AhmadFriend
Messages: 1
Registered: October 2022
Junior Member
Hello everyone,

I have upgraded glassfish from version 3 to version 6.2.5. In the glassfish version 3, I had SLF4j(v1.5.6) and its implementation SLF4J-JDK14(v1.5.6) in the class path and logging was working perfectly fine.

In the glassfish version 6.2.5, SLF4j is not working. I have tried with following SLF4j versions in the class path one by one

1- SLF4j(v1.5.6) and its implementation SLF4J-JDK14(v1.5.6)
2- SLF4j(v2.0.3) and its implementation SLF4J-JDK14(v2.0.3)

But every time SLF4j pick NOPLogger when following code is executed
Logger log = LoggerFactory.getLogger(this.getClass().getName());

NOPLogger log nothing in the glassfish 6.2.5.

It looks glassfish 6.2.5 is picking some old version of SLF4j which is not in the class path dependencies

Can anybody please help on this issue? Am I missing something to configure in the glassfish server 6.2.5? For now I am just adding SLF4j dependencies in the class path
Previous Topic:Need How-To Migrating old JBoss EJBs
Next Topic:Install glass fish
Goto Forum:
  


Current Time: Fri Apr 26 13:39:24 GMT 2024

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

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

Back to the top