Tag Archives: SLF4j

Maven 3.1.0 Released

The build tool Apache Maven has been released in version 3.1.0. The most noteworthy changes of this release are the following: JSR 330 (Dependency Injection for Java) is used for extensions and plugins. While JSR 330 has been available in … Continue reading

Posted in Build, config and deploy | Tagged , , , , , | Leave a comment

The condemned live longer

Years ago, Log4j 1.2 was released. Since then it was treated as dead by many developers. In the meantime logback appeared as successor of Log4j based on the slf4j API. But now, many years later, the development of log4j 2 is … Continue reading

Posted in Java Basics | Tagged , , , , | Leave a comment

Logging additional information like SessionID in every Log4j message

In his blog posts Log4j MDC (Mapped Diagnostic Context) : What and Why and Log4j MDC (Mapped Diagnostic Context) : Example code, Veera Sundar explains the concept of the Mapped Diagnostic Context (MDC), a thread-local key-value store that can be … Continue reading

Posted in Java Basics | Tagged , , , , | Leave a comment