diff options
author | Peter Hunt <pehunt@redhat.com> | 2019-05-18 22:17:37 -0400 |
---|---|---|
committer | Peter Hunt <pehunt@redhat.com> | 2019-05-28 11:10:57 -0400 |
commit | 02f971131a3bb71615d15a45df808edd0fa88266 (patch) | |
tree | 0802e2f2a3feb8c09458d1bebe003846e0f02aa2 /cmd | |
parent | 68ce353a23c8cd15077c70bc730470841ef37fb7 (diff) | |
download | podman-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.go | 2 |
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") } |