27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
From 87e886b239a932f37679f12fe2920d1b36e92985 Mon Sep 17 00:00:00 2001
|
|
From: Li Feng <lifeng2221dd1@zoho.com.cn>
|
|
Date: Sat, 30 Jan 2021 16:12:29 +0800
|
|
Subject: [PATCH 22/53] log: change log level from warn to error
|
|
|
|
Signed-off-by: Li Feng <lifeng2221dd1@zoho.com.cn>
|
|
---
|
|
src/daemon/modules/service/service_container.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/daemon/modules/service/service_container.c b/src/daemon/modules/service/service_container.c
|
|
index a4a2414c..5eab8ccf 100644
|
|
--- a/src/daemon/modules/service/service_container.c
|
|
+++ b/src/daemon/modules/service/service_container.c
|
|
@@ -1288,7 +1288,7 @@ static int force_kill(container_t *cont)
|
|
}
|
|
ret = container_wait_stop(cont, 90);
|
|
if (ret != 0) {
|
|
- WARN("Container(%s) stuck for 90 seconds, try to kill the monitor of container", id);
|
|
+ ERROR("Container(%s) stuck for 90 seconds, try to kill the monitor of container", id);
|
|
ret = send_signal_to_process(cont->state->state->p_pid, cont->state->state->p_start_time, stop_signal, SIGKILL);
|
|
if (ret != 0) {
|
|
ERROR("Container stuck for 90 seconds and failed to kill the monitor of container, "
|
|
--
|
|
2.25.1
|
|
|