I am using Audit4j for audit logging purpose. It generates the file in the given path with the name Audit_Log_yyyy_mm-dd format. I want to change the file name as MyFileName_yyyy-mm-dd. Is it possible to do this ?.
I have tried to set the file prefix using the following code. But it did not work.
FileAuditHandler fileAuditHandler = new FileAuditHandler();
fileAuditHandler.setPath(AUDIT_FILE_LOCATION);
fileAuditHandler.setAuditFilePrefix(applicationName);
Please help me to fix this ?