wp1 icon indicating copy to clipboard operation
wp1 copied to clipboard

Keep logs of letsencrypt and reverse-proxy container

Open benoit74 opened this issue 1 year ago • 1 comments

In https://github.com/openzim/wp1/blob/main/docker-compose.yml (prod configuration), logs of the reverse-proxy and letsencrypt containers are set to logging.driver: 'none', i.e. we immediately drop the logs.

During https://github.com/kiwix/operations/issues/211, this prevented me to diagnose an issue (which wasn't really an issue), I had to modify the docker-compose and restart the container to check letsencrypt logs for instance.

While I admit that these logs are rarely useful, I think that dropping them immediately is a bit sad. I would be in favor of keeping at least few lines (e.g. the 10k which are in the config).

@rgaudin WDYT?

benoit74 avatar Oct 31 '24 08:10 benoit74

I think it would be wise ; as suggested, with a limit, so that we don't have to think about it.

rgaudin avatar Nov 01 '24 08:11 rgaudin