Project

General

Profile

Actions

Support #4975

closed
CZ

How do I know what SC_LOG_OP_FILTER can I use

Support #4975: How do I know what SC_LOG_OP_FILTER can I use

Added by Chang Zedd over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

CZ Updated by Chang Zedd over 4 years ago Actions #1

From https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Unit_Tests I know how to enable debug and print debug info. It says ' SC_LOG_OP_FILTER="(something|somethingelse)" suricata u ' . My question is how can I know what 'something' and 'somethingelse' can be.
I need to print this log info in ‘src/detect.c’ Line 758 SCLogDebug("inspecting signature id %"PRIu32"", s
>id); So how to setup my environment variable SC_LOG_OP_FILTER and why it works(how can i find it). Thanks!

AH Updated by Andreas Herz over 4 years ago Actions #2

  • Status changed from New to Closed
Actions

Also available in: PDF Atom