From 7a58c6601b8aaaf3ae04f7b49ec3c638f55b40ad Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 14 May 2019 16:17:11 -0500 Subject: set default event logger based on build tags once the default event logger was removed from libpod.conf, we need to set the default based on whether the systemd build tag is used or not. Signed-off-by: baude --- libpod/events/journal_linux.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpod/events/journal_linux.go') diff --git a/libpod/events/journal_linux.go b/libpod/events/journal_linux.go index 264c84f89..78a630e9a 100644 --- a/libpod/events/journal_linux.go +++ b/libpod/events/journal_linux.go @@ -12,6 +12,9 @@ import ( "github.com/sirupsen/logrus" ) +// DefaultEventerType is journald when systemd is available +const DefaultEventerType = Journald + // EventJournalD is the journald implementation of an eventer type EventJournalD struct { options EventerOptions -- cgit v1.2.3-54-g00ecf