Project

General

Profile

Support #3233

Advice to enable SCLogDebug vs SCLogConfig output

Added by Brian Jones 5 days ago. Updated 5 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Using this link as a guide, https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Unit_Tests
It doesn't seem like the "--enable-debug" compile option enables SCLogDebug statements. In the end, I had to find and replace all of the SCLogDebug statements with SCLogConfig to see them in stream-tcp.c, I tried multiple 4.1 and 5.0 github master repos with no luck.

Not sure if the issue is with "--enable-debug" or with the instructions to set "SC_LOG_LEVEL=Debug" when starting suricata.

History

#1

Updated by Victor Julien 5 days ago

You first configure with --enable-debug, rebuild (make clean && make), then set the log level to debug (export SC_LOG_LEVEL=Debug). Then you should see the SCLogDebug statements have effect.

Also available in: Atom PDF