3 ms·
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.
by LtWorf 4y ago
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.
- 1337shadow 4y agoGreat idea but how do you work this out in a container where the python process is PID 1?
- LtWorf 4y agobind 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.