Skip to content

Commit

Permalink
Log more usage statistics
Browse files Browse the repository at this point in the history
Since the string 'Peak memory use' is kept, this should be ok'ish with
respect to backwards compatible search statements in the log
  • Loading branch information
berland committed Sep 4, 2024
1 parent b6218b5 commit 8e62a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 8e62a2d

Please sign in to comment.