Skip to content

Create new events.csv file handle on file rename #174

@int00h5525

Description

@int00h5525

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

  1. Start a MOTH instance
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions