From 8e0efb199340cc53d8f727318a20ba2105b8f1b6 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 16 Dec 2021 14:38:54 -0500 Subject: [PATCH] Island: Replace deprecated logging.warn() with logging.warning() --- monkey/monkey_island/cc/setup/config_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/setup/config_setup.py b/monkey/monkey_island/cc/setup/config_setup.py index 6835dfc61..4069136b7 100644 --- a/monkey/monkey_island/cc/setup/config_setup.py +++ b/monkey/monkey_island/cc/setup/config_setup.py @@ -30,7 +30,7 @@ def _update_config_from_file(config: IslandConfigOptions, config_path: Path): config.update(config_from_file) logger.info(f"Server config updated from {config_path}") except OSError: - logger.warn(f"Server config not found in path {config_path}") + logger.warning(f"Server config not found in path {config_path}") def _load_server_config_from_file(server_config_path) -> dict: