-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
EnvoyFilter [ lua filter ] is not printing log on console #11592
Comments
What log level do you have configured? |
I haven't specifically configure any log level, [ I also don't have idea where to set :) ] but did try to log with Error / Debug / Info all .. it didn't log for any one. |
Do you have the same problem if you try this with standalone Envoy and console logs (which can be controlled with |
Thanks .. Fortunately I have found that only request_handle:logCritical is writing on log. not the other ones .. i am sure that this is standard logging configuration, but i don't have any clue how to do it.. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
This could be due to logging level not set right for the proxy. For lua, it is required to enable debugging for Lua scripts in the IstioOperator custom resource. Below command using istioctl enables debug, info level logging for lua scripts istioctl proxy-config log . --level lua:info Options for --level are lua:debug, lua:info, lua:warning. Hope this helps |
This really save my life ! |
This is not an issue but a question.
I am new in this field. Trying to implement lua filter with OPA [ open policy agent and istio ]
to implement a simple poc, i have created following following filter.
When i am executing my api I am able to get the updated header value in output. [ seems lua filter is invoked in filter chain ]
but my problem is, i am not able to find the log “envoy_on_request” anywhere in the container logs.
need you suggestion to find the log…
Am i missing something to enable log ..
The text was updated successfully, but these errors were encountered: