In spring boot application we can enable hibernate sql queries logging just by adding configuration in application.properties file
ReadMDC manages contextual information per thread basis, information like userID, IP mostly gets stored in MDC context. In this post we will see how to pass this information to new thread created from main thread.
Read