-
Notifications
You must be signed in to change notification settings - Fork 634
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
Allow overriding of ServiceRouter's exception logging #1091
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to be able to override the ServiceRouter's exception logging. Would also be useful to provide the override with access to the request header. This would allow the customized log event to include request context for tracing, etc...
It seems that this is not currently supported, as of Lagom 1.3.8.
Not super familiar with the Lagom code, but it looks to me like moving ServiceRouter's logException to LagomServiceApiBridge (and passing the request header) and then working through that customization might be a reasonable approach.
Thoughts?
The text was updated successfully, but these errors were encountered: