[TripleO] containers logging to stdout
bdobreli at redhat.com
Wed Jan 30 12:28:25 UTC 2019
On 30.01.2019 11:49, Juan Antonio Osorio Robles wrote:
> In Queens, the a spec to provide the option to make containers log to
> standard output was proposed  . Some work was done on that side,
> but due to the lack of traction, it wasn't completed. With the Train
> release coming, I think it would be a good idea to revive this effort,
> but make logging to stdout the default in that release.
> This would allow several benefits:
> * All logging from the containers would en up in journald; this would
> make it easier for us to forward the logs, instead of having to keep
> track of the different directories in /var/log/containers
and simplifies logs rotation a lot!
> * The journald driver would add metadata to the logs about the container
> (we would automatically get what container ID issued the logs).
> * This wouldo also simplify the stacks (removing the Logging nested
> stack which is present in several templates).
> * Finally... if at some point we move towards kubernetes (or something
> in between), managing our containers, it would work with their logging
> tooling as well.
> Any thoughts?
>  https://blueprints.launchpad.net/tripleo/+spec/logging-stdout-rsyslog
More information about the openstack-discuss