github.com/containers/podman/v4@v4.9.4/libpod/container_log_unsupported.go (about) 1 //go:build !remote && (!linux || !systemd) 2 // +build !remote 3 // +build !linux !systemd 4 5 package libpod 6 7 import ( 8 "context" 9 "fmt" 10 11 "github.com/containers/podman/v4/libpod/define" 12 "github.com/containers/podman/v4/libpod/logs" 13 ) 14 15 func (c *Container) readFromJournal(_ context.Context, _ *logs.LogOptions, _ chan *logs.LogLine, _ int64, _ string) error { 16 return fmt.Errorf("journald logging only enabled with systemd on linux: %w", define.ErrOSNotSupported) 17 }