I'm using nginx and writing logs to stdout.
We will have about 7000 logs/hour write to stdout and after running the container for some time, we keep getting errors as below:
write() to "/dev/stdout" failed (32: Broken pipe) while logging request
And below is the access log config:
access_log /dev/stdout main;
Tried to restart the container several times, and will always get this error after the container running for hours or a day.
Below is the nginx image we are using:
nginx:1.19.7-alpine-perl