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

Allow overriding of ServiceRouter's exception logging #1091

Open
steve-scx opened this issue Nov 6, 2017 · 2 comments · May be fixed by #2251
Open

Allow overriding of ServiceRouter's exception logging #1091

steve-scx opened this issue Nov 6, 2017 · 2 comments · May be fixed by #2251

Comments

@steve-scx
Copy link

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?

@TimMoore
Copy link
Contributor

Related (possible duplicate): #1307

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

Successfully merging a pull request may close this issue.

4 participants