From 8e62a2d136c858073b06ca119c78cfbac84a63ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Berland?= Date: Tue, 3 Sep 2024 11:36:23 +0200 Subject: [PATCH] Log more usage statistics Since the string 'Peak memory use' is kept, this should be ok'ish with respect to backwards compatible search statements in the log --- src/ert/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ert/__main__.py b/src/ert/__main__.py index c9c3e4dad50..3a26b42dbdc 100755 --- a/src/ert/__main__.py +++ b/src/ert/__main__.py @@ -637,7 +637,7 @@ def log_process_usage() -> None: "Swaps": usage.ru_nswap, "Peak memory use (KB)": maxrss, } - logger.info(f"Peak memory use: {maxrss} KB", extra=usage_dict) + logger.info(f"Ert process usage: {usage_dict}") except Exception as exc: logger.warning( f"Exception while trying to log ERT process resource usage: {exc}"