Skip to content

sonamsamdupkhangsar/mdc-webapp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This is a sample application demonstrating the use of SLF4J Message Diagnostic Context information for logging contextual information.
You probably want to use a interceptor or a filter to engage the logging of contextual information in the inbound request and clear
on the outbound response.  


HOW TO RUN
--------------
execute: mvn package && java -jar target/mdc*.jar

go to browser: http://localhost:8080/

on command line see: 
	client: 'Sonam', [http-nio-8080-exec-1], INFO  org.sonamexample.HelloController - hello MDC

In the example you can see 'Sonam' printed using MDC.   

About

mdc webapp example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages