further discovery is carried out on the incoming traffic.
Here, there could be two scenarios, if the reinspection flag is enabled, discovery process is further continued and
appids found on first packet may or may not change, else if it is disabled, the discovery is stopped at the first packet itself
-and appids remains the same for this entire session.
\ No newline at end of file
+and appids remains the same for this entire session.
+
+LUA detectors can log messages at any point within their workflow ( e.g initialisation, deinitialisation and packet processing ) through
+snort via the detector_log_snort_message ( LUA cLog ) API. This function requires 2 arguments - log_level and message.
+The log_level argument tells snort what information needs to be logged. LUA_LOG_TRACE corresponds to packet-centric logging and
+thus instructs snort to attempt to add packet 5-tuple information to the log messages. Control logic should use the LUA_LOG_INFO log_level to
+log messages at a higher urgency and without packet information. Packet processing log should use LUA_LOG_TRACE instead, as described above.