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

I normally just import syslog or journald. The latter allows for arbitrary fields to be defined and then searched, but it's not in the stdlib.


Great idea but how do you work this out in a container where the python process is PID 1?


bind mount /dev/log in the container of course.

Also logging can be set up remotely, but it's easier to do like that from the container and then configure the hos to send everything to a single log machine.




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

Search: