podman/libpod/events/journal_unsupported.go
baude 7a58c6601b 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>
2019-05-14 16:17:11 -05:00

12 lines
302 B
Go

// +build !systemd
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
}