michalklempa / docker-nifi-registry

Unofficial Docker Image For NiFi Registry
Apache License 2.0
25 stars 13 forks source link

Consider implementing symlinks for stdout and stderr #1

Open michalklempa opened 5 years ago

michalklempa commented 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.

michalklempa commented 5 years ago

Seems that this could be achieved manipulating conf/logback.xml in the first place.