How do I bundle logs by request?

is there a request identifier

Yes

At a previous employer...

Looks good. How did you visually bundle a set of lines?

In other words, it's essential that lines from a single request/activity follow each other sequentially rather than being mixed into other requests. And this sequence of lines should be visually distinguished, perhaps as a foldable section.