summaryrefslogtreecommitdiff
path: root/libpod/container_log_unsupported.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-08-04 15:24:29 -0400
committerNalin Dahyabhai <nalin@redhat.com>2021-08-23 17:59:42 -0400
commit6b06e9b77c8191096eeb82ac54c59b894f87da8c (patch)
treefc41fbf93803440eedd99d34d1a60c00110ce5c2 /libpod/container_log_unsupported.go
parentd1137664fe799bb9ca84ed9e4e0d01db6df77bad (diff)
downloadpodman-6b06e9b77c8191096eeb82ac54c59b894f87da8c.tar.gz
podman-6b06e9b77c8191096eeb82ac54c59b894f87da8c.tar.bz2
podman-6b06e9b77c8191096eeb82ac54c59b894f87da8c.zip
Switch eventlogger to journald by default
[NO TESTS NEEDED] Since we are just testing the default. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/container_log_unsupported.go')
-rw-r--r--libpod/container_log_unsupported.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/container_log_unsupported.go b/libpod/container_log_unsupported.go
index d10082141..a551df942 100644
--- a/libpod/container_log_unsupported.go
+++ b/libpod/container_log_unsupported.go
@@ -13,3 +13,7 @@ import (
func (c *Container) readFromJournal(_ context.Context, _ *logs.LogOptions, _ chan *logs.LogLine) error {
return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
}
+
+func (c *Container) initializeJournal(ctx context.Context) error {
+ return errors.Wrapf(define.ErrOSNotSupported, "Journald logging only enabled with systemd on linux")
+}