Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're running into containers that are writing logs to files, IMHO that's a code smell and something is off with how they're using containers. Most of the container ecosystem has settled on stdout and stderr as the defacto log locations and then leave it up to the container orchestrator (docker-compose, k8s, etc.) to deal with the log data. There might be some good reasons to use files for logs, but in 2021 they're likely exceptions and not the norm.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: