wiremock-grpc-extension icon indicating copy to clipboard operation
wiremock-grpc-extension copied to clipboard

Use the configured Notifier to log messages

Open fisco-unimatic opened this issue 8 months ago • 0 comments

The GrpcHttpServerFactory passes the configured notifier into the GrpcFilter. The GrpcFilter stores that as a new field, and then passes it on to the handlers that it builds. The handlers also store the notifier as a new field, and then set the it in the LocalNotifier thread-local before invoking stubRequestHandler.handle.

References

Issue#38 verbose console output

Submitter checklist

  • [ ] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
  • [ x] The PR request is well described and justified, including the body and the references
  • [x ] The PR title represents the desired changelog entry
  • [x ] The repository's code style is followed (see the contributing guide)
  • [x ] Test coverage that demonstrates that the change works as expected
  • [ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

fisco-unimatic avatar May 31 '24 16:05 fisco-unimatic