Tag Archives: MDC

Usage Tracking with Grails

When a web application goes live, it can be very useful to keep track of what people are doing with your application. It is important to discover the “hot spots” of your application which you should optimize in terms of … Continue reading

Posted in Groovy and Grails, Java Web Frameworks | 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