Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmm: redirect virtiofsd log to syslog #159

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Burning1020
Copy link
Member

@Burning1020 Burning1020 commented Aug 14, 2024

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

Signed-off-by: Zhang Tianyang <burning9699@gmail.com>
@Burning1020 Burning1020 requested a review from a team as a code owner August 14, 2024 08:30
Copy link
Member

@xietuo xietuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xietuo xietuo merged commit 91e35df into kuasar-io:main Aug 15, 2024
18 checks passed
@Burning1020 Burning1020 deleted the redir-virtifofsd-log branch August 16, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants