Use SLF4J, not Log4J, as Your Logging Interface (3 mins read).
Why we should be using the interface API for logging, rather than the underlying implementation's API.
Use SLF4J, not Log4J, as Your Logging Interface (3 mins read).
Why we should be using the interface API for logging, rather than the underlying implementation's API.
Migrating Your Spring Boot Application to use Structured Logging (6 mins read).
How to make your Spring Boot services more supportable by migrating to JSON-emitting structured logging.
Avoiding NoClassDefFoundError
errors when using slf4j-test with Logback and Maven (2 mins read).
How to exclude Logback from the classpath when testing your logs using slf4j-test and Maven.
Testing Your SLF4J Logs (2 mins read).
Looking at how we would unit test our SLF4J logs to gain confidence they work, and to catch regressions in the future.
You're currently viewing page 1 of 1, of 5 posts.