mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +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:
@ -42,6 +42,12 @@ const (
|
||||
// NsRunDir is the default directory in which running network namespaces
|
||||
// are stored
|
||||
NsRunDir = "/var/run/netns"
|
||||
|
||||
// JournaldLogging is the string conmon expects to specify journald logging
|
||||
JournaldLogging = "journald"
|
||||
|
||||
// KubernetesLogging is the string conmon expects when specifying to use the kubernetes logging format
|
||||
KubernetesLogging = "k8s-file"
|
||||
)
|
||||
|
||||
// OCIRuntime represents an OCI-compatible runtime that libpod can call into
|
||||
|
Reference in New Issue
Block a user