[Oisf-users] Suricata 1.4 how to enable debug log levels in console, no debug output being shown

Victor Julien lists at inliniac.net
Thu Apr 25 07:29:50 UTC 2013


On 04/25/2013 02:44 AM, Vincent Fang wrote:
> I followed the directions where it states that I must run the
> ./configure --enable-debug as well as change the default-log-level:
> debug in the suricata.yaml, and I know it's running through a section of
> code with the function SCLogDebug in it but I don't see any Debug output
> in the console when I run suricata.
> 
> How do I check if the setup is correct or is there something I missed?

I always use the env var to enable debug output:

SC_LOG_LEVEL=Debug suricata <...options...>

To filter, you can add:

SC_LOG_OP_FILTER=<regex>

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-users mailing list