summaryrefslogtreecommitdiff
path: root/libpod/container_log.go
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-05-22 11:46:26 -0400
committerPeter Hunt <pehunt@redhat.com>2019-05-28 11:14:08 -0400
commit88429242ddf82c03509ca66a687d9fb1534d2446 (patch)
tree5905a76af7396be8db361bd676349f243f5f8aae /libpod/container_log.go
parent51bdf29f0493827ce3eb278a193d0a7402add896 (diff)
downloadpodman-88429242ddf82c03509ca66a687d9fb1534d2446.tar.gz
podman-88429242ddf82c03509ca66a687d9fb1534d2446.tar.bz2
podman-88429242ddf82c03509ca66a687d9fb1534d2446.zip
Add --follow to journald ctr logging
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'libpod/container_log.go')
-rw-r--r--libpod/container_log.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpod/container_log.go b/libpod/container_log.go
index c893ccad9..374e5a1fc 100644
--- a/libpod/container_log.go
+++ b/libpod/container_log.go
@@ -63,9 +63,6 @@ func (c *Container) ReadLog(options *LogOptions, logChannel chan *LogLine) error
// TODO Skip sending logs until journald logs can be read
// TODO make this not a magic string
if c.LogDriver() == JournaldLogging {
- if options.Follow {
- return errors.Errorf("The follow option with journald logging is not currently supported")
- }
return c.readFromJournal(options, logChannel)
}
return c.readFromLogFile(options, logChannel)