diff options
author | baude <bbaude@redhat.com> | 2019-08-01 12:43:21 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-08-02 20:05:27 -0500 |
commit | 63eef5a23415380bdc3975c90fc88305a0380a61 (patch) | |
tree | ee58434bb3c92258d3ff899b9e234be31aebd6c4 /libpod/events/logfile.go | |
parent | 3cc9ab8992833ddf952df479ffb239c61845fa2e (diff) | |
download | podman-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/logfile.go')
-rw-r--r-- | libpod/events/logfile.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/events/logfile.go b/libpod/events/logfile.go index 30d72b9fc..4b65b0ad0 100644 --- a/libpod/events/logfile.go +++ b/libpod/events/logfile.go @@ -71,3 +71,8 @@ func (e EventLogFile) Read(options ReadOptions) error { close(options.EventChannel) return nil } + +// String returns a string representation of the logger +func (e EventLogFile) String() string { + return LogFile.String() +} |