Description
When events.csv is renamed, MOTHd will keep writing to the old file handle, using the new name, instead of recreating events.csv and starting to write to it.
Steps to Reproduce
- Start a MOTH instance
- Rename events.csv to events.csv.bak (
cp events.csv events.csv.bak)
Expected behavior:
MOTH creates a new events.csv file and begins writing to it.
Actual behavior:
MOTH continues writing to events.csv.bak, and does not create a new events.csv
Reproduces how often:
100%
Versions
Additional Information