Add ability to choose copytruncate log rotation in ASCII writer

Description

As of now ASCIIWriter handle log rotation by moving the old file to a different location and then recreating the log file as need (move-create).

However in some scenarious this behaviour can cause trouble and it would be preferred a copy-truncate approach (ie: like logrotatewith copytruncate option).

This could be configurable via local.bro.

Environment

None

Assignee

Unassigned

Reporter

Davide Setti

Labels

External issue ID

None

Components

Priority

Normal
Configure