wiktorn / Overpass-API

Overpass API docker image
MIT License
134 stars 48 forks source link

Log Nginx Errors #52

Closed boldtrn closed 2 years ago

boldtrn commented 3 years ago

Sometimes I receive wird Nginx errors when accessing the Overpass instance. The error contains a hint to check the Nginx error log, but I don't think the container is writing logs? Maybe it would be possible to also write the Nginx logs to the disk?

wiktorn commented 3 years ago

nginx logs are written to /var/log/nginx/error.log which are symlinked to stderr. docker logs (or any other tool that you use to gather logs from docker) should contain nginx error log

boldtrn commented 3 years ago

Thanks a lot for the reply. IIRC, I checked docker logs and I could not see the nginx logs. It has been some time and luckily the errors I saw did not show up again.