diff options
author | baude <bbaude@redhat.com> | 2019-05-14 16:17:11 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-05-14 16:17:11 -0500 |
commit | 7a58c6601b8aaaf3ae04f7b49ec3c638f55b40ad (patch) | |
tree | a0402e9fca462c504b723409a140cf4a7f3c0e12 /libpod/events/journal_unsupported.go | |
parent | a261b60cc8851c04efd191be6f6e2e4598439822 (diff) | |
download | podman-7a58c6601b8aaaf3ae04f7b49ec3c638f55b40ad.tar.gz podman-7a58c6601b8aaaf3ae04f7b49ec3c638f55b40ad.tar.bz2 podman-7a58c6601b8aaaf3ae04f7b49ec3c638f55b40ad.zip |
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 <bbaude@redhat.com>
Diffstat (limited to 'libpod/events/journal_unsupported.go')
-rw-r--r-- | libpod/events/journal_unsupported.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/events/journal_unsupported.go b/libpod/events/journal_unsupported.go index c91d81f12..004efdab2 100644 --- a/libpod/events/journal_unsupported.go +++ b/libpod/events/journal_unsupported.go @@ -2,6 +2,9 @@ package events +// DefaultEventerType is logfile when systemd is not present +const DefaultEventerType = LogFile + // newEventJournalD always returns an error if libsystemd not found func newEventJournalD(options EventerOptions) (Eventer, error) { return nil, ErrNoJournaldLogging |