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

[management] Logs configurator: generate a more tolerant condition #3047

Closed
NicolasGeraud opened this issue Dec 20, 2019 · 0 comments
Closed

[management] Logs configurator: generate a more tolerant condition #3047

NicolasGeraud opened this issue Dec 20, 2019 · 0 comments

Comments

@NicolasGeraud
Copy link
Member

@NicolasGeraud NicolasGeraud commented Dec 20, 2019

For query params and header conditions, the Logging Editor generates a condition like
#request.headers['X-Log'][0] == 'true'

If no header is present in the request, this generate a warning log :
WARN i.g.g.c.l.p.LoggableRequestProcessor - Unexpected error while evaluating logging condition for the API xxxxxxxx and context path /xxx : EL1012E: Cannot index into a null value

Your Environment

  • Version used: 1.25.17
@NicolasGeraud NicolasGeraud self-assigned this Dec 20, 2019
@NicolasGeraud NicolasGeraud added this to the APIM - 1.25.18 milestone Dec 20, 2019
NicolasGeraud added a commit to gravitee-io/gravitee-management-webui that referenced this issue Dec 20, 2019
tcompiegne added a commit to gravitee-io/gravitee-management-webui that referenced this issue Dec 24, 2019
@tcompiegne tcompiegne closed this Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
2 participants
You can’t perform that action at this time.