mirror of https://github.com/OISF/suricata
unix-socket: add logs reopen command
We did had a race condition with running logrotate with multiple EVE Json files. Consequence was one of the file not being reopen by suricata that did continue to write to the rotated one. Trying fix on signal handler did fail so this patch implements log rotation support by adding a dedicated command to unix socket to reopen the log files.pull/3104/head
parent
cf8d770caa
commit
3205a8789b
Loading…
Reference in New Issue