Open michalklempa opened 5 years ago
According to https://docs.docker.com/config/containers/logging/ there are multiple possible ways to capture logfiles.
Consider implementing one of these in this image.
nginx way:
https://github.com/nginxinc/docker-nginx/blob/8921999083def7ba43a06fabd5f80e4406651353/mainline/jessie/Dockerfile#L21-L23
httpd way:
https://github.com/docker-library/httpd/blob/b13054c7de5c74bbaa6d595dbe38969e6d4f860c/2.2/Dockerfile#L72-L75
This would allow us to avoid forking tail process.
Seems that this could be achieved manipulating conf/logback.xml in the first place.
conf/logback.xml
According to https://docs.docker.com/config/containers/logging/ there are multiple possible ways to capture logfiles.
Consider implementing one of these in this image.
nginx way:
https://github.com/nginxinc/docker-nginx/blob/8921999083def7ba43a06fabd5f80e4406651353/mainline/jessie/Dockerfile#L21-L23
httpd way:
https://github.com/docker-library/httpd/blob/b13054c7de5c74bbaa6d595dbe38969e6d4f860c/2.2/Dockerfile#L72-L75
This would allow us to avoid forking tail process.