Closed wbcmax closed 2 years ago
Can you check if it does the same in non-containerized OpenResty? In other words, does this have anything to do with it being in a container?
You might be facing this? https://groups.google.com/g/openresty-en/c/me3b1kKDxuk
Can you check if it does the same in non-containerized OpenResty? In other words, does this have anything to do with it being in a container?
I deployed an openresty on a virtual machine and reproduced the problem, it doesn't just appear on docker-openresty
Problem solved!
Thank you for your help @neomantra !
Problem description
When I start a docker-openresty to debug my lua script, the log prints duplicates
Version
openresty docker image version:
docker.io/openresty/openresty:1.21.4.1-alpine
A minimal and standalone test case that others can easily run on their side and reproduce the issue you are seeing.
This is my test default.conf
This is my lua script
Request error log
The result I expected
The log in the lua script is only recorded once.
Thanks!