Skip to content
Advertisement

Tag: slf4j

SLF4J logging with jboss/wildfly 10

I have a Java webapp running in a WildFly 10 server. I used to have the following libraries as Maven dependencies: I would now like to use wildfly’s builtin logging subsystem. Which libraries do I need to add to my project(s)? How do I configure the default log-category and root logger declared in standalone.xml to log everything from packages “com.mycompany”

spring-boot – turn off console logging

Want to configure a spring-boot (1.3.5) application to send log-output only to a file — turn off the console. It looks very easy, according to the docs: howto-logging.html — section ยง 72.1.1 Configure logback for file only output But I just cannot get this to work — it still logs both to file and console, whatever I try. Been googling

LOG4J in Android

I have a Java Project with a lot of files, which is using LOG4J. Now I am trying to Port it to the Android platform. Is it possible to reuse the code as it is, with LOG4J function calls? Current understanding: Property configuration won’t work (beans dependency) I tried with LOG4J for Android and SL4J Lib. No success. Working. But

SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”

My application is to be deployed on both tcServer and WebSphere 6.1. This application uses ehCache and so requires slf4j as a dependency. As a result I’ve added the slf4j-api.jar (1.6) jar to my war file bundle. The application works fine in tcServer except for the following error: However, when I deploy in WebSphere I get a java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder. Also

Advertisement