Hello,

currently FileAuditLogHandler rotates audit-log.log file during every start up (or reload) and there is no option to turn this behavior off. This clashes with users who want to use f.i. logrotate to perform log rotation [1].

Apart from FileAuditLogHandler, there are also PeriodicRotatingFileAuditLogHandler and SizeRotatingFileAuditLogHandler available, which perform the log rotation on regular interval resp. file size basis.

I would like to introduce an attribute "rotate-at-startup" into FileAuditLogHandler definition which would allow to disable this behavior, so the log file would be appended instead of rotated.

Is that a bad idea for some reason?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1301554