This PR continues the work from #715 and introduces an update to how our requests are logged. Right now, we print request messages (chaos, mock, etc) as we get them from plugins. With many requests intercepted it makes it hard to understand which messages belong to the same request. This change proposes an update to how we show log messages and groups all messages related to the same request together. Related messages are buffers in a custom formatter, and when it receives the signal that all plugins executed, it prints the collected messages to console.
This PR continues the work from #715 and introduces an update to how our requests are logged. Right now, we print request messages (chaos, mock, etc) as we get them from plugins. With many requests intercepted it makes it hard to understand which messages belong to the same request. This change proposes an update to how we show log messages and groups all messages related to the same request together. Related messages are buffers in a custom formatter, and when it receives the signal that all plugins executed, it prints the collected messages to console.