Imagine we have default nginx installation. It is located in docker. To set up nginx I used different image from basic nginx:latest, so logs are written into /var/log/nginx/* files. In basic image (nginx:latest) these files are links to /dev/stdout and /dev/stderr. I think, can I create such file, which can write in multiple files at once.
To clarify, I want something like /var/log/nginx/a.log which will point to /var/log/nginx/access.log and /dev/stdout at once. I will be pleased to see any possible solutions of this problem in nginx specifically or globally in Linux systems