Glassfish 6.2.5 and SLF4j [message #1855555] |
Thu, 20 October 2022 06:43 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03718 seconds