This is really cool! I'm tempted to try and write something generic for this same concept, so i can use it in whatever lang and logging framework desired.
Concept: A simple pattern match against each line to link their respective contexts. Eg, if you log each request with an id `[timestamp] [request-id] some module: some message`, then theoretically you could parse a log to show visual relation between all request ids.
Furthermore, you could filter out request ids with generic tools like grep/etc.
There must be logging viewer tools that work generically like this though, so perhaps i'd be wasting my time :)