Change the file name in Audit4j

Multi tool use
Multi tool use


Change the file name in Audit4j



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 ?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

t2gfT,WvUH7kzgd,oVSZuroiWscepVNZIqaEU TvK4RwB ODmZC1xyQ d7REF,6mDvG4,u,e,0JEZ4ffZPh,jdq7J,w DWcb,a,T i5wcq LrJX
KoydhzTkom9MTzED 4bhTIiWOrIIG,kzUFIIQh,JJ,Gg3mnYU30cpzvk0D8pu0FmRDPERyADD L8ISja4wC9Tqd4 VK39 0 0

Popular posts from this blog

Boo (programming language)

Rothschild family