-
Notifications
You must be signed in to change notification settings - Fork 170
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
Logging policy configuration sent to APICast with incorrect syntax #1165
Comments
Hi, I'm able to reproduce this issue, I'll have a look later today and I'll try to send a fix for 2.8 version that we'll release in the next couple of weeks. Regards |
eloycoto
added a commit
to eloycoto/APIcast
that referenced
this issue
Feb 28, 2020
If the logging config is not correct,operations are not defined,the loop will not work and it'll crash. Fix 3scale#1165 Fix THREESCALE-4605 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
eloycoto
added a commit
to eloycoto/APIcast
that referenced
this issue
Mar 2, 2020
If the logging config is not correct,operations are not defined,the loop will not work and it'll crash. Fix 3scale#1165 Fix THREESCALE-4605 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
eloycoto
added a commit
that referenced
this issue
Mar 2, 2020
If the logging config is not correct,operations are not defined,the loop will not work and it'll crash. Fix #1165 Fix THREESCALE-4605 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
eloycoto
added a commit
to eloycoto/APIcast
that referenced
this issue
Mar 7, 2020
If the logging config is not correct,operations are not defined,the loop will not work and it'll crash. Fix 3scale#1165 Fix THREESCALE-4605 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
eloycoto
added a commit
to eloycoto/APIcast
that referenced
this issue
Mar 7, 2020
If the logging config is not correct,operations are not defined,the loop will not work and it'll crash. Fix 3scale#1165 Fix THREESCALE-4605 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
eloycoto
added a commit
that referenced
this issue
Mar 9, 2020
If the logging config is not correct,operations are not defined,the loop will not work and it'll crash. Fix #1165 Fix THREESCALE-4605 Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[provide a description of the issue]
Hi,
We are running our 2scale system on version 2.7,
When we try to add the logging policy to our APICast we see in the logging that:
Failed to load policy: logging version: builtin err: /opt/app-root/src/src/apicast/policy/logging/loggign.lua:59: bad argument #1 to 'ipairs' (table expected, got nil), client: [ip_address], server: _, request: , host: [host]
We checked the policy chain of the service and saw that the configuration of the logging policy contains the following field:
In a working policy we see:
In addition after manually removing the condition filed, the error does not happen any more.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: