public class FileAuditLogHandler extends AbstractFileAuditLogHandler
ManagedAuditLoggerImpl's lock taken.| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
LINE_TERMINATOR| Constructor and Description |
|---|
FileAuditLogHandler(String name,
String formatterName,
int maxFailureCount,
PathManagerService pathManager,
String path,
String relativeTo,
boolean rotateAtStartup) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeAtStartup(File file) |
protected void |
rotateLogFile(File file) |
void |
setFormatterName(String formatterName) |
void |
setMaxFailureCount(int count) |
copyFile, createNewFile, renameprotected final String name
public FileAuditLogHandler(String name, String formatterName, int maxFailureCount, PathManagerService pathManager, String path, String relativeTo, boolean rotateAtStartup)
protected void initializeAtStartup(File file)
initializeAtStartup in class AbstractFileAuditLogHandlerprotected void rotateLogFile(File file)
rotateLogFile in class AbstractFileAuditLogHandlerpublic void setMaxFailureCount(int count)
public void setFormatterName(String formatterName)
Copyright © 2018 JBoss by Red Hat. All rights reserved.