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.
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.