So I noticed that if I docker exec into an nginx image and go to /var/log/nginx/ that the errors are redirected to stdout
0 lrwxrwxrwx 1 root root 11 Nov 7 00:24 access.log -> /dev/stdout
0 -rw-r--r-- 1 root root 0 Nov 16 04:57 mywebsite_error.log
0 lrwxrwxrwx 1 root root 11 Nov 7 00:24 error.log -> /dev/stderr
I assume this is the output if I use docker logs <nginx-container>? Does it make sense to also sym link(?) my websites error and access logs to the same output? Would this break the existing links attached to access.log and error.log?
Or would a better solution be to simply have my website errors output to those default access and error logs (since only one site will be running on this server)