journald event logging

add the ability for podman to read and write events to journald instead
of just a logfile.  This can be controlled in libpod.conf with the
`events_logger` attribute of `journald` or `file`.  The default will be
set to `journald`.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-03-27 13:50:54 -05:00
parent d75543fcd2
commit 7bf7c177ab
29 changed files with 2399 additions and 225 deletions

View File

@ -9,7 +9,9 @@ podman\-events - Monitor Podman events
## DESCRIPTION
Monitor and print events that occur in Podman. Each event will include a timestamp,
a type, a status, name (if applicable), and image (if applicable).
a type, a status, name (if applicable), and image (if applicable). The default logging
mechanism is *journald*. This can be changed in libpod.conf by changing the `events_logger`
value to `file`. Only `file` and `journald` are the accepted.
The *container* event type will report the follow statuses:
* attach