Skip to content

"intelmqctl log" level selection does not work #2596

@sebix

Description

@sebix

With a bot that has level INFO set, the current and expected result of the commands is with intelmqctl log $bot 10 $level:

  • (default/missing) Actual: All; Expected: All ✅️
  • DEBUG Actual: Nothing; Expected: All ❌️
  • INFO Actual: All info; Expected: All info and above ✅️
  • WARNING: Actual: Info; Expected: Only warning, error and critical ❌️
  • ERROR: Actual: Info; Expected: Only error and critical ❌️
  • CRITICAL: Actual: Info; Expected: Only critical ❌️

The API/Manager is of course affected too. The selection 'ALL' doesn't work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcomponent: intelmqctlgood first issueIndicates a good issue for first-time contributors

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions