Package org.jboss.as.controller.audit
Class PeriodicRotatingFileAuditLogHandler
java.lang.Object
org.jboss.as.controller.audit.AbstractFileAuditLogHandler
org.jboss.as.controller.audit.PeriodicRotatingFileAuditLogHandler
All methods on this class should be called with
ManagedAuditLoggerImpl's lock taken.- Author:
- Ivo Studensky
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPossible period values. -
Field Summary
FieldsFields inherited from class org.jboss.as.controller.audit.AbstractFileAuditLogHandler
LINE_TERMINATOR -
Constructor Summary
ConstructorsConstructorDescriptionPeriodicRotatingFileAuditLogHandler(String name, String formatterName, int maxFailureCount, PathManagerService pathManager, String path, String relativeTo, String suffix, TimeZone timeZone) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitializeAtStartup(File file) protected voidrotateLogFile(File file) voidsetFormatterName(String formatterName) voidsetMaxFailureCount(int count) Methods inherited from class org.jboss.as.controller.audit.AbstractFileAuditLogHandler
copyFile, createNewFile, rename
-
Field Details
-
name
-
-
Constructor Details
-
PeriodicRotatingFileAuditLogHandler
-
-
Method Details
-
initializeAtStartup
- Specified by:
initializeAtStartupin classAbstractFileAuditLogHandler
-
rotateLogFile
- Specified by:
rotateLogFilein classAbstractFileAuditLogHandler
-
setMaxFailureCount
public void setMaxFailureCount(int count) -
setFormatterName
-