tone down error log for successful process termination

This commit is contained in:
Dmitry Rodionov
2022-12-05 13:31:25 +02:00
committed by Dmitry Rodionov
parent d6bfe955c6
commit 98ff0396f8

View File

@@ -922,8 +922,7 @@ impl NoLeakChild {
match child.wait() {
Ok(exit_status) => {
// log at error level since .kill() is something we only do on errors ATM
error!(exit_status = %exit_status, "wait successful");
info!(exit_status = %exit_status, "wait successful");
}
Err(e) => {
error!(error = %e, "wait error; might leak the child process; it will show as zombie (defunct)");