Skip to content

Add goroutine-local logger and BufferedLogger for parallel operations#1297

Open
eyalk007 wants to merge 12 commits intojfrog:masterfrom
eyalk007:eyal/parallel-logging-support
Open

Add goroutine-local logger and BufferedLogger for parallel operations#1297
eyalk007 wants to merge 12 commits intojfrog:masterfrom
eyalk007:eyal/parallel-logging-support

Conversation

@eyalk007
Copy link

@eyalk007 eyalk007 commented Jan 13, 2026

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the master branch.
  • I used gofmt for formatting the code before submitting the pull request.

  • Add BufferedLogger that writes to io.Writer for isolated log capture
  • Add goroutine-local logger support via sync.Map
  • SetLoggerForGoroutine/ClearLoggerForGoroutine for per-goroutine logging
  • GetLogger checks goroutine-local logger before falling back to global

- Add BufferedLogger that writes to io.Writer for isolated log capture
- Add goroutine-local logger support via sync.Map
- SetLoggerForGoroutine/ClearLoggerForGoroutine for per-goroutine logging
- GetLogger checks goroutine-local logger before falling back to global
@eyalk007 eyalk007 added the new feature Automatically generated release notes label Jan 13, 2026
@eyalk007 eyalk007 self-assigned this Jan 13, 2026
@eyalk007 eyalk007 added the safe to test Approve running integration tests on a pull request label Jan 13, 2026
Copy link
Collaborator

@attiasas attiasas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, please take a look at my commets, also add tests for the related changes

@eyalk007 eyalk007 requested a review from attiasas January 14, 2026 17:29
@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@eyalk007 eyalk007 added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Jan 18, 2026
Copy link
Collaborator

@attiasas attiasas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants