fix(libvirt-guests): redirect service output to journal to suppress s…#28
Conversation
…hutdown error messages The libvirt-guests service prints "Can't connect to default. Skipping." to the console when shutting down if libvirtd is already stopped. This error message appears on the screen during system shutdown, disturbing the user experience. Change StandardOutput and StandardError from "journal+console" to "journal" to suppress console output while still keeping logs available in the system journal for debugging purposes. This ensures a clean shutdown experience without unnecessary error messages appearing on the console. 修复(libvirt-guests):将服务输出重定向到 journal,抑制关机时的错误打印 当 libvirtd 在关机时已提前停止,libvirt-guests 服务会在控制台打印 "Can't connect to default. Skipping." 错误信息,影响关机体验。 将 StandardOutput 和 StandardError 从 "journal+console" 改为 "journal", 在保留日志供调试的同时,屏蔽控制台输出,确保关机过程干净无干扰。 Bug: 362087
|
Hi @wxphaha. Thanks for your PR. 😃 |
|
TAG Bot TAG: 10.7.0+really9.10.0-1deepin21 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @wxphaha. Thanks for your PR. I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/integrate |
|
AutoIntegrationPr Bot |
…hutdown
error messages
The libvirt-guests service prints "Can't connect to default. Skipping." to the console when shutting down if libvirtd is already stopped. This error message appears on the screen during system shutdown, disturbing the user experience.
Change StandardOutput and StandardError from "journal+console" to "journal" to suppress console output while still keeping logs available in the system journal for debugging purposes.
This ensures a clean shutdown experience without unnecessary error messages appearing on the console.
修复(libvirt-guests):将服务输出重定向到 journal,抑制关机时的错误打印
当 libvirtd 在关机时已提前停止,libvirt-guests 服务会在控制台打印
"Can't connect to default. Skipping." 错误信息,影响关机体验。
将 StandardOutput 和 StandardError 从 "journal+console" 改为 "journal", 在保留日志供调试的同时,屏蔽控制台输出,确保关机过程干净无干扰。
Bug: 362087