We will centralize all the logs that are generated by the system into a single pod. In local development, this pod will expose all the received logs through a web interface.
The logs will be sent over the syslog protocol, which is the most standard way of transmitting them. There's native support for syslog in Python, as well as in virtually any system that deals with logging and has Unix support.
Using a single container makes it easy to aggregate logs. In production, this system should be replaced with a container that relays the received logs to a cloud service such as Loggly or Splunk.
There are multiple syslog servers that are capable of receiving logs and aggregating them; syslog-ng (https://www.syslog-ng.com/) and rsyslog (https://www.rsyslog.com/) are the most common ones. The simplest method is to receive the logs and to store them in a file. Let...