diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-29 17:51:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-29 17:51:27 +0200 |
commit | 294448c2ea880ec550548537b0681a0e30e161d7 (patch) | |
tree | bf19af8e02cc57a422174cd9e3e6e24e221eac59 /libpod/container_log_unsupported.go | |
parent | c9357f07cea6a62e59714200073541711aa3b55c (diff) | |
parent | 88429242ddf82c03509ca66a687d9fb1534d2446 (diff) | |
download | podman-294448c2ea880ec550548537b0681a0e30e161d7.tar.gz podman-294448c2ea880ec550548537b0681a0e30e161d7.tar.bz2 podman-294448c2ea880ec550548537b0681a0e30e161d7.zip |
Merge pull request #2709 from haircommander/journald
Add libpod journald logging
Diffstat (limited to 'libpod/container_log_unsupported.go')
-rw-r--r-- | libpod/container_log_unsupported.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libpod/container_log_unsupported.go b/libpod/container_log_unsupported.go new file mode 100644 index 000000000..0ec5740e2 --- /dev/null +++ b/libpod/container_log_unsupported.go @@ -0,0 +1,11 @@ +//+build !linux !systemd + +package libpod + +import ( + "github.com/pkg/errors" +) + +func (c *Container) readFromJournal(options *LogOptions, logChannel chan *LogLine) error { + return errors.Wrapf(ErrOSNotSupported, "Journald logging only enabled with systemd on linux") +} |