diff --git a/monkey/monkey_island/cc/server_utils/island_logger.py b/monkey/monkey_island/cc/server_utils/island_logger.py index 07090214a..31b2a7a98 100644 --- a/monkey/monkey_island/cc/server_utils/island_logger.py +++ b/monkey/monkey_island/cc/server_utils/island_logger.py @@ -33,12 +33,6 @@ def get_log_file_path(data_dir: Path) -> Path: return data_dir / ISLAND_LOG_FILENAME -def get_log_file_contents(log_file_path: Path) -> str: - with open(log_file_path, "rt") as f: - log_file = f.read() - return log_file - - def setup_default_failsafe_logging(): logger = logging.getLogger() logger.setLevel(logging.DEBUG)