From ea6c28fa0d5256c99d472daac09053e7a6dcf6c8 Mon Sep 17 00:00:00 2001 From: xinwen Date: Thu, 9 Dec 2021 20:16:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20cgroup=20memory=20l?= =?UTF-8?q?og?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/utils/common.py b/apps/common/utils/common.py index 34856a850..fb50009b2 100644 --- a/apps/common/utils/common.py +++ b/apps/common/utils/common.py @@ -281,7 +281,7 @@ def get_docker_mem_usage_if_limit(): return ((usage_in_bytes - inactive_file) / limit_in_bytes) * 100 except Exception as e: - logger.error(f'Get memory usage by docker limit: {e}') + logger.debug(f'Get memory usage by docker limit: {e}') return None