[wildfly-dev] Proposal: Option to disable FileAuditLogHandler log rotation
Tomas Hofman
thofman at redhat.com
Thu Jan 28 06:10:36 EST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20160128/a18fff2c/attachment.html
More information about the wildfly-dev
mailing list