mirror of
https://github.com/containers/podman.git
synced 2025-12-11 01:11:30 +08:00
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>
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user