Open
Description
Describe the bug
According to https://nginx.org/en/docs/ngx_core_module.html#error_log default error_log
level for Nginx should be error
, but official docker image is built with level notice
. This produces all sorts of issues in logging/monitoring systems. Most often, just graceful ordinary restart produces errors in logs (and then alerts).
To reproduce
Steps to reproduce the behavior:
- Run the NGINX Docker image.
- Check /var/log/nginx/error.log for startup notices (which are not actually errors).
Expected behavior
error_log
should be set to error
or maybe warn
level, definitely not notice
.
Your environment
- nginx:1.25.1-alpine-slim
- Kubernetes / Docker Desktop
Metadata
Assignees
Labels
No labels