Project

General

Profile

Actions

Feature #2497

closed

error messages usability improvement

Added by Victor Julien over 6 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
high
Difficulty:
low
Label:

Description

Many error messages have been written with very minimal context. Often they only make sense if the file name and function name are logged as well, which is not enabled by default in RELEASE-mode.

Maybe it would be useful to add a new set of SCLogError/SCLogWarning calls that include:
- subsystem name (e.g. stream-tcp, log-pcap)
- affected config options name, if applicable (e.g. stream.midstream)

In output this could be used to give more context to the user.


Related issues 1 (0 open1 closed)

Related to Suricata - Optimization #3160: clean up error codesClosedVictor JulienActions
Actions

Also available in: Atom PDF