Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3.0, 3.0.0-alpha1
-
None
-
None
-
None
Description
Log statements do not include process IDs and thread IDs which makes debugging hard when the output of multiple requests is interleaved. It's even worse when looking at the output of test runs because the logs from multiple daemons are interleaved in the same file.
Log4j does not provide a builtin mechanism for this, so we'd likely have to write some extra code. One possible solution is to initialize the IDs in the MDC and extract via ConversionPattern as described here.