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

[gateway] log more information in addition to stacktrace #528

Closed
NicolasGeraud opened this Issue Mar 31, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@NicolasGeraud
Member

NicolasGeraud commented Mar 31, 2017

If a policy throws an exception, the stacktrace does not indicate which api/requestid throws it.
Debugging could besome a nightmare.

We need to add extra informations on policies stacktrace to help support.

Expected Behavior

Log api id and/or requestId in addition to the stacktrace.

Current Behavior

Only the stacktrace is shown.

Steps to Reproduce (for bugs)

  1. create an api
  2. add the json2json policy
  3. in the jolt spec, type "foo"
  4. call the api

@NicolasGeraud NicolasGeraud added this to the 1.5.0 milestone Mar 31, 2017

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue Apr 2, 2017

@brasseld brasseld self-assigned this Apr 2, 2017

NicolasGeraud added a commit to gravitee-io/gravitee-gateway that referenced this issue Apr 9, 2017

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