Logging
To use the logging function, LOG must be included.
This method is available to write messages to the log file that is visible in the Web Management interface. It can be used to help debug rules.
require 'LOG' --- Will write a warning-level log record. EZWARNING("Warning message")
--- Will write an info-level log record EZINFO("user information string") |
Both of these functions can take any number of arguments to log. For example:
require 'LOG' local application = GetLatestApplication(dpiMessage) EZINFO("INFO: The system has detected ", application, " traffic.") |
Generic rules write logs to the ProbeLogger, and packet rules write to the ProbeReader.