NYU-HSRN-Network-Data-Science-Group / AutoZeekWatch

An online, deployable machine learning network intrusion detection system for Zeek.
MIT License
3 stars 0 forks source link

Implement single logger via inter-process communication #37

Open diego-lopez8 opened 4 months ago

diego-lopez8 commented 4 months ago

Different inference processes are started based on the different data sources (CONN, HTTP, DNS) and write their logs. We want to have a single log writer for multiple processes, so that our downstream task can be done in memory and be simple.

https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes