kuasar-io / kuasar

A multi-sandbox container runtime that provides cloud-native, all-scenario multiple sandbox container solutions.
https://kuasar.io
Apache License 2.0
1.27k stars 91 forks source link

vmm: redirect virtiofsd log to syslog #159

Closed Burning1020 closed 3 months ago

Burning1020 commented 3 months ago

The current log output of virtiofsd is to stdout/stderr collected by its parents process vmm-sandboxer. As a result, it will be lost if sandboxer process restarts. Redirecting virtiofsd log to syslog could make it persistent.

Virtiofsd already supports --syslog option: https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/61