Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
44 views

I do have the following line in my Android app: private Logger logger = LoggerFactory.getLogger(getClass().getSimpleName()); When testing for threads access in strict mode i found the following issue ...
4ntoine's user avatar
  • 20.6k
0 votes
0 answers
30 views

I have an application using Java 11, Spring, Apache CXF 3.4.2, Tomcat and slf4j. The method that serves as the endpoint for subscribing to server-sent events doesn't log any errors. They're visible in ...
sbnet's user avatar
  • 1
3 votes
0 answers
78 views

In Spring Boot application for logs made with Slf4j I want to show INFO level logs in console and DEBUG level logs in file. I also want to change level logs in console with Actuator, so I can't use ...
Gosha Pronin's user avatar
0 votes
0 answers
19 views

I have to refactor a custom ant task to use a rewritten implementation of the code. As part of the rewrite, the logging library was updated from slf4j 1.7.26 to 2.0.17, using logback 1.5.28, updated ...
mccarthyj's user avatar
  • 949
5 votes
1 answer
136 views

My project uses SLF4J with Log4j2, but recently I introduced a dependency that uses Logback for logging and DOES NOT use SLF4J. The dependency's code includes the following import: import ch.qos....
chenlangping's user avatar
2 votes
1 answer
144 views

Password4j 1.8.2 cannot be loaded under Oracle 23ai free because most of the time ora-29532 java call terminated by uncaught java exception java.lang.noclassdeffounderror org/slf4j/loggerfactory ...
Armand Bozsik's user avatar
0 votes
1 answer
109 views

I use logback-classic in version 1.5.18 with slf4j 2.0.16 Here i have done a basic name for reproducing the issue (rolling doesn't work) public class LogRotationTest { public static void main(...
mlapeyre's user avatar
  • 332
0 votes
1 answer
65 views

My application is using structured json logging and log4j. My goal is to add a new field to json log if a specific throwable is passed into log method as an argument With mdc this is easy } catch (...
hnnn's user avatar
  • 504
0 votes
1 answer
53 views

I am trying to measure logging performance in combination with in unit test. What I noticed is, the first block that gets executed gets some overhead get added. The code below is one case with ...
user30360496's user avatar
0 votes
1 answer
108 views

Using Maven 3: jetty maven plugin - version 11.0.24, logback classic - version 1.4.14, jul-to-slf4j version 2.0.16 : public class MyLifecycleListener implements ServletContextListener { @Override ...
timmacp's user avatar
  • 193
0 votes
1 answer
85 views

When running my Scala script, I'm seeing a warning: > scala upload.scala SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger ...
Wallace's user avatar
  • 18k
0 votes
1 answer
105 views

I am working on a small project with spring boot and the logging seems to not work. I receive this: 2025-03-02 13:44:41 [JDALogger] [WARN] Using fallback logger due to missing SLF4J implementation. ...
Bejenariu Ionut's user avatar
0 votes
0 answers
99 views

I have the following Logging.groovy import ch.qos.logback.classic.Level import ch.qos.logback.classic.LoggerContext import ch.qos.logback.classic.encoder.PatternLayoutEncoder import ch.qos.logback....
djsumdog's user avatar
  • 2,818
0 votes
1 answer
344 views

I have a JAR that I built using the assembly plugin for sbt. When I run the code through the IDE, I can see the logs produced by my actors, alongside the logs from Hibernate. When I run the jar on the ...
Kris Rice's user avatar
  • 923
0 votes
0 answers
88 views

The goal is: Write only desired log level to the Console output by JVM args (-Dlog.level=DEBUG) (default INFO). (Not working) Write DEBUG level to ROLLING_FILE_DEBUG file appender. (Working fine) ...
Augusto's user avatar
  • 4,283
0 votes
1 answer
115 views

I am trying upgrade eclipse 4.23 to eclipse 4.31. while doing this I am facing this issue. I am using slf4j and logback version, ch.qos.logback.classic_1.5.0.jar ch.qos.logback.core_1.5.0.jar slf4j....
Birudeo Garande's user avatar
1 vote
1 answer
136 views

I'm trying to add Logback on a Vertx project, but it seems SLF4J can't see logback even if itself come from a logback dependency. I used maven dependency logback-classic, which transitively imports ...
Mickael Alvarez's user avatar
0 votes
1 answer
74 views

I've been trying to set an logback filter in my Eclipse Equinox RT application as follows: <?xml version="1.0" encoding="utf-8" standalone="no"?> <configuration ...
skrenato's user avatar
0 votes
0 answers
24 views

I'm trying to change a codebase from using log4j to slf4j. We have a log4j.xml with appenders like this <appender name="DefaultAppender" class="org.apache.log4j.ConsoleAppender&...
Chris A's user avatar
  • 1,140
1 vote
2 answers
1k views

I'm working on a Java application that uses SLF4J for logging and Log4j for the underlying logging implementation. The application frequently logs repetitive messages in quick succession, leading to ...
aj.savvi's user avatar
1 vote
1 answer
346 views

I'm working on a Reactive Spring Boot application that uses Log4j2 as the logging framework. By default, my application logs at the INFO level, and I set the logging level in the application.yml I ...
Rahul verma's user avatar
1 vote
1 answer
560 views

With slf4j I can do as follows: logger.atInfo() .setMessage("My message") .addKeyValue("foo", "bar") .addKeyValue("code", 42) .log() Which, when used ...
greatvovan's user avatar
  • 3,234
0 votes
1 answer
574 views

I'm using Spring Boot and MDC to log additional context with each log entry in my REST API application. I use MDC in the main thread, but the data is not passed to the http threads that are created ...
steros's user avatar
  • 1,934
0 votes
2 answers
70 views

So I'm (trying) developing a kotlin console application, where the user can sign up with an email, and in order to validate this email I use dnsjava library, but that requires me to use the slf4j and ...
r0ck-b0tt0m's user avatar
0 votes
1 answer
781 views

I am integrating my Spring Boot application with Micrometer (and Prometheus and Grafana). I would like to have a Micrometer counter that collects and shows me info (when the exception appeared) about ...
zappee's user avatar
  • 23.2k

1
2 3 4 5
69