diff --git a/monkey/monkey_island/cc/resources/agent_logs.py b/monkey/monkey_island/cc/resources/agent_logs.py index 16c4992fa..1426df792 100644 --- a/monkey/monkey_island/cc/resources/agent_logs.py +++ b/monkey/monkey_island/cc/resources/agent_logs.py @@ -22,7 +22,7 @@ class AgentLogs(AbstractResource): try: log_contents = self._agent_log_repository.get_agent_log(agent_id) except UnknownRecordError as err: - logger.debug(f"Error occured while getting agent log: {err}") + logger.error(f"Error occured while getting agent log: {err}") return {}, HTTPStatus.NOT_FOUND return log_contents, HTTPStatus.OK