i am using JBOSS EAP 7, using MDC i am able to track to my IPAddress for every ServletRequest
using
MDC.put("IPAddress",.getInetAddress())
but only for parent thread, not for child thread how can achieve for child threads
Asked
Active
Viewed 85 times
0

Prasanth Kumar K
- 15
- 5
-
What logging framework are you using? By that I mean, which MDC implementation. – James R. Perkins Oct 15 '19 at 17:51
-
JBOSS and log4j(not 2) – Prasanth Kumar K Oct 16 '19 at 11:44
-
How are you creating threads? Are you excluding log4j and providing your own or are you using the servers log4j module? – James R. Perkins Oct 16 '19 at 16:31