diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 84f0150..e96926a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,5 @@ .. - SPDX-FileCopyrightText: 2020-2023 Birger Schacht, Sebastian Wagner + SPDX-FileCopyrightText: 2020-2023 nic.at GmbH, 2025 Institute for Common Good Technology, Sebastian Wagner SPDX-License-Identifier: AGPL-3.0-or-later CHANGELOG @@ -8,11 +8,17 @@ CHANGELOG 3.3.1 (unreleased) ---------------------- +## Monitor +^^^^^^^^^^ + +- Bot logs: fix log level filter "ALL" (PR#49 by Sebastian Wagner, fixes #48). + Tests ^^^^^ - Update Python versions: remove 3.7, add 3.12, 3.13 (PR#50 by Sebastian Wagner). + 3.3.0 (2024-03-01) ---------------------- diff --git a/intelmq_api/runctl.py b/intelmq_api/runctl.py index 094b847..993c50f 100644 --- a/intelmq_api/runctl.py +++ b/intelmq_api/runctl.py @@ -113,7 +113,7 @@ def bot(self, action: str, bot_id: str) -> JSONFile: def log(self, bot_id: str, lines: int, level: str) -> JSONFile: if level == "ALL": - level = "DEBUG" + return self._run_json(["log", bot_id, str(lines)]) return self._run_json(["log", bot_id, str(lines), level]) def list(self, kind: str) -> JSONFile: