mirror of https://github.com/OISF/suricata
log: wrap rotation and write in lock
The application log is subject to rotation, so the check for rotation, the actual rotation and write needs to be done under lock to ensure the file pointer is in a consisten state at the time of write(). Fixes issue: https://redmine.openinfosecfoundation.org/issues/2155pull/2814/head
parent
40991cab82
commit
fa742d1d14
Loading…
Reference in New Issue