Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor logger grouping #716

Merged

Conversation

waldekmastykarz
Copy link
Collaborator

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.

@waldekmastykarz waldekmastykarz marked this pull request as ready for review May 22, 2024 13:47
@waldekmastykarz waldekmastykarz requested a review from a team as a code owner May 22, 2024 13:47
@waldekmastykarz waldekmastykarz merged commit e82a18f into microsoft:main May 22, 2024
4 checks passed
@waldekmastykarz waldekmastykarz deleted the refactor-logger-grouping-new branch May 22, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants