Technical references : Administration : Logging : Security logging : Security logging: change file name or location
Security logging: change file name or location
By default security logging logs to ...\Server\wildfly-*\standalone\log\securityaudit.log.
To change the file name or location, proceed as follows:
1. Start the JBoss CLI .
2. Update the handler for the AuditLogReporter, SECURITY_AUDIT. Set the file property to the desired value, for example:
/subsystem=logging/periodic-rotating-file-handler=SECURITY_AUDIT/:write-attribute(name
=file,value={"relative-to" => "jboss.server.log.dir","path" => "Test/Test.log"})