Project

General

Profile

Support #3233

Advice to enable SCLogDebug vs SCLogConfig output

Added by Brian Jones 8 months ago. Updated 8 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Affected Versions:
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.

#1

Updated by Victor Julien 8 months 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.

#2

Updated by Andreas Herz 8 months ago

  • Status changed from New to Feedback
  • Assignee set to Brian Jones
  • Target version set to Support

Also available in: Atom PDF