summaryrefslogtreecommitdiff
path: root/libpod/events/journal_linux.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-08-01 12:43:21 -0500
committerbaude <bbaude@redhat.com>2019-08-02 20:05:27 -0500
commit63eef5a23415380bdc3975c90fc88305a0380a61 (patch)
treeee58434bb3c92258d3ff899b9e234be31aebd6c4 /libpod/events/journal_linux.go
parent3cc9ab8992833ddf952df479ffb239c61845fa2e (diff)
downloadpodman-63eef5a23415380bdc3975c90fc88305a0380a61.tar.gz
podman-63eef5a23415380bdc3975c90fc88305a0380a61.tar.bz2
podman-63eef5a23415380bdc3975c90fc88305a0380a61.zip
add eventlogger to info
to help with future debugging, we now display the type of event logger being used inside podman info -> host. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/events/journal_linux.go')
-rw-r--r--libpod/events/journal_linux.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/events/journal_linux.go b/libpod/events/journal_linux.go
index d5bce4334..ae96e3b3b 100644
--- a/libpod/events/journal_linux.go
+++ b/libpod/events/journal_linux.go
@@ -146,3 +146,8 @@ func newEventFromJournalEntry(entry *sdjournal.JournalEntry) (*Event, error) { /
}
return &newEvent, nil
}
+
+// String returns a string representation of the logger
+func (e EventJournalD) String() string {
+ return Journald.String()
+}