Project

General

Profile

Actions

Optimization #6652

open
JL OD

Configuration values trigger error instead of warning messages

Optimization #6652: Configuration values trigger error instead of warning messages

Added by Jeff Lucovsky over 2 years ago. Updated 2 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

There are several places, e.g., mqtt.rs, where configuration values are checked and an error message is logged if the value is out of bounds.

A recent PR introduced the following message which is incorrectly logging an error instead of a warning.

  SCLogError!("Invalid value for mqtt.max-msg-length: {}", val);


Related issues 1 (1 open0 closed)

Related to Suricata - Bug #5196: config: test mode should fail when there are invalid config valuesNewOISF DevActions

JL Updated by Jeff Lucovsky over 2 years ago Actions #1

  • Target version changed from TBD to 8.0.0-beta1

JL Updated by Jeff Lucovsky over 2 years ago Actions #2

  • Description updated (diff)

VJ Updated by Victor Julien about 1 year ago Actions #3

  • Related to Bug #5196: config: test mode should fail when there are invalid config values added

VJ Updated by Victor Julien about 1 year ago Actions #4

  • Target version changed from 8.0.0-beta1 to 9.0.0-beta1

PA Updated by Philippe Antoine 9 months ago Actions #5

  • Tracker changed from Bug to Optimization

PA Updated by Philippe Antoine 2 months ago Actions #6

  • Status changed from New to Assigned
Actions

Also available in: PDF Atom