Project

General

Profile

Actions

Support #3233

closed

Advice to enable SCLogDebug vs SCLogConfig output

Added by Brian Jones about 5 years ago. Updated about 4 years ago.

Status:
Closed
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.

Actions #1

Updated by Victor Julien about 5 years 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.

Actions #2

Updated by Andreas Herz about 5 years ago

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

Updated by Andreas Herz about 4 years ago

  • Status changed from Feedback to Closed

Hi, we're closing this issue since there have been no further responses.
If you think this bug is still relevant, try to test it again with the
most recent version of suricata and reopen the issue. If you want to
improve the bug report please take a look at
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Reporting_Bugs

Actions

Also available in: Atom PDF