Hi,<br><br>I am wondering if Logback has a solution to identify the process or the host that is running the application.<br>This would be relevant for applications with instances running in parallel, but writing their log to a central repository (eg using DBAppender to a common database).<br>
A typical scenario would be load balancing a web application in the cloud, or a heavy computation split over several processors.<br>If an instance fails, I would be important to have the log message to distinguish this instance among others.<br>
I think that MDC could do this job. However, this would work only for threads that are under my control. <br>Is it possible to add some log meta-data globally to the logger context?<br><br>Best regards,<br>Daniel Felix Ferber<br>
<br>