AnsweredAssumed Answered

lua - nw.log* functions

Question asked by RSA Admin Employee on Apr 9, 2014
Latest reply on Apr 11, 2014 by huan zhou

The lua parser documentation I have has some notes at the very, very end about debugging lua parsers.  "If you like you can also send information to the log" and references of some nw.log* functions - nw.logDebug, nw.logInfo, nw.logWarning, etc.

 

What is "the log" as relates to those functions?  When i use these functions I never see anything - I've looked in /var/log/messages and in the log tab in administrator when running against an actual decoder, and checked the NwInvestigator9.log when running it through a local Investigator instance.

 

When I look at the declaration of those functions in nw-api.lua, they appear to be empty functions (function nw.logDebug(msg) end) -- or are those just the function prototypes and the real work is done in other, lower-level libraries?

 

Beyond these functions, does anybody have hints or tips or tricks for debugging lua parsers other than registering your values or debugging information as "dummy" meta?

Outcomes