OpenShift writes logs to the system by way of
journald. Ultimately logs are streamed through the journal and eventually written to the filesystem. By default journald writes most of OpenShift’s logs to
/var/log/messages. This can be quite difficult to parse through, so it is recommended to use the
journalctl command to view logs for individual components.
will spit out logs for the
docker systemd unit that are currently in journald’s stream. Additionally,
will follow the docker logs.
This can be applied the same to all components of OpenShift and is a convenient way to look at logs for System Administrators.