Actions
Feature #1504
openlua: better notification in verbose mode on script errors
Description
Using - Suricata version 2.1dev (rev b5e1df2)
On a lua script err/failure - if not possible to err - we should at least relay a warning as compared to "Info" msg.
[9156] 12/7/2015 -- 13:51:42 - (tmqh-packetpool.c:373) <Info> (PacketPoolInit) -- preallocated 1024 packets. Total memory 3598336 [9157] 12/7/2015 -- 13:51:42 - (detect-lua.c:578) <Info> (DetectLuaAppMatch) -- failed to run script: /etc/suricata/rules/self-signed-cert.lua:21: attempt to call global 'format' (a nil value) [9156] 12/7/2015 -- 13:51:42 - (suricata.c:1088) <Info> (SCPrintElapsedTime) -- time elapsed 0.026s
It comes really handy when using the color output in verbose mode.
Actions