aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-05-18 22:17:37 -0400
committerPeter Hunt <pehunt@redhat.com>2019-05-28 11:10:57 -0400
commit02f971131a3bb71615d15a45df808edd0fa88266 (patch)
tree0802e2f2a3feb8c09458d1bebe003846e0f02aa2 /cmd
parent68ce353a23c8cd15077c70bc730470841ef37fb7 (diff)
downloadpodman-02f971131a3bb71615d15a45df808edd0fa88266.tar.gz
podman-02f971131a3bb71615d15a45df808edd0fa88266.tar.bz2
podman-02f971131a3bb71615d15a45df808edd0fa88266.zip
Implement podman logs with log-driver journald
Add a journald reader that translates the journald entry to a k8s-file formatted line, to be added as a log line Note: --follow with journald hasn't been implemented. It's going to be a larger undertaking that can wait. Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/shared/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go
index 4e105cad4..7cf230605 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -603,7 +603,7 @@ func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod.
memorySwappiness := c.Int64("memory-swappiness")
- logDriver := "k8s-file"
+ logDriver := libpod.KubernetesLogging
if c.Changed("log-driver") {
logDriver = c.String("log-driver")
}