You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snort Extra 3.1.77 seems not logging to data_log file while snort is running. If you terminate the process, it flushes stream to the file. I assume this is because we have TextLog_Term(tlog); in tterm in data_log.cc. But, we don't have TextLog_Flush(tlog); in void LogHandler::handle(DataEvent& e, Flow* f) in data_log.cc. I have added TextLog_Flush(tlog); at the end of handle method, and looks like it's working for me now.
The text was updated successfully, but these errors were encountered:
Snort Extra 3.1.77 seems not logging to data_log file while snort is running. If you terminate the process, it flushes stream to the file. I assume this is because we have
TextLog_Term(tlog);
intterm
in data_log.cc. But, we don't haveTextLog_Flush(tlog);
invoid LogHandler::handle(DataEvent& e, Flow* f)
in data_log.cc. I have addedTextLog_Flush(tlog);
at the end ofhandle
method, and looks like it's working for me now.The text was updated successfully, but these errors were encountered: