summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-09-01 11:36:26 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-09-27 12:07:01 +0200
commit3ce98a5ec28840f2d7836a002a156974f37f6c0e (patch)
treee684194119ec89281b72b73569052d423d96a6ad /libpod/options.go
parent869cb9a65413cc99bf8ed0e158c0e2f7b0df513a (diff)
downloadpodman-3ce98a5ec28840f2d7836a002a156974f37f6c0e.tar.gz
podman-3ce98a5ec28840f2d7836a002a156974f37f6c0e.tar.bz2
podman-3ce98a5ec28840f2d7836a002a156974f37f6c0e.zip
logging: new mode -l passthrough
it allows to pass the current std streams down to the container. conmon support: https://github.com/containers/conmon/pull/289 [NO TESTS NEEDED] it needs a new conmon. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go
index a80f51c6a..553af43fd 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -1114,7 +1114,7 @@ func WithLogDriver(driver string) CtrCreateOption {
switch driver {
case "":
return errors.Wrapf(define.ErrInvalidArg, "log driver must be set")
- case define.JournaldLogging, define.KubernetesLogging, define.JSONLogging, define.NoLogging:
+ case define.JournaldLogging, define.KubernetesLogging, define.JSONLogging, define.NoLogging, define.PassthroughLogging:
break
default:
return errors.Wrapf(define.ErrInvalidArg, "invalid log driver")