mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 04:15:16 +00:00
This process connects to memlogd and streams logs to individual files, one per log. It keeps track of how many bytes have been written to each file and rotates when the file size exceeds a defined threshold. By default the maximum size of each file before rotation is 1MiB and we keep up to 10 files per log. Signed-off-by: David Scott <dave.scott@docker.com>
6 lines
81 B
YAML
6 lines
81 B
YAML
image: logwrite
|
|
config:
|
|
binds:
|
|
- /var/run:/var/run
|
|
- /var/log:/var/log
|