Change logging mechanism to syslog#74
Merged
liulog merged 4 commits intosyswonder:mainfrom Jan 27, 2026
Merged
Conversation
This commit refactors the logging system by removing the callback mechanism and direct file logging. The logging function now primarily outputs to syslog, streamlining the logging process. Additionally, the log_event structure and related functions have been eliminated to reduce complexity. BREAKING CHANGE: The log_log function signature has changed; it no longer includes the 'with_enter' parameter.
This commit fixes a typo in the function name multithread_log_exit, which was incorrectly spelled as mutithread_log_exit in the log.c and virtio.c files. The header file log.h has also been updated to reflect this correction.
Contributor
|
You need to install Then you should execute Then all logs are saved in You can start virtio backend and start non-root zonex later. |
Contributor
|
I have tested in rk3588. It works well. |
This commit updates the README files in both English and Chinese to clarify the command for starting the Virtio daemon and the logging mechanisms. The `nohup ... &` command has been simplified to `&`, and instructions for viewing logs have been added for both `systemd` and non-`systemd` systems. Additionally, the reference to `nohup.out` has been replaced with `syslog` for log retrieval instructions.
This commit updates the README files in both English and Chinese to specify the use of `nohup` when starting the Virtio daemon. This change ensures that the daemon continues running even after the terminal is closed, improving usability for users. No other changes were made to the content.
liulog
approved these changes
Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pr mainly fixes #72 and #69