From 5f88f6f04be429be9f356dbafdee578c35a875e2 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 24 May 2021 12:13:33 +0300 Subject: [PATCH] Moved a comment to a proper place --- monkey/monkey_island.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island.py b/monkey/monkey_island.py index 662ebe892..e3d8348d1 100644 --- a/monkey/monkey_island.py +++ b/monkey/monkey_island.py @@ -12,14 +12,14 @@ from monkey_island.cc.server_utils.island_logger import setup_logging # noqa: E if "__main__" == __name__: island_args = parse_cli_args() + # This is here in order to catch EVERYTHING, some functions are being called on + # imports, so the log init needs to be first. try: if island_args.server_config: config, server_config_path = setup_config_by_cmd_arg(island_args.server_config) else: config, server_config_path = setup_default_config() - # This is here in order to catch EVERYTHING, some functions are being called on - # imports, so the log init needs to be first. setup_logging(config["data_dir"], config["log_level"]) except OSError as ex: