Commit ed3c32c1 by Madhan Neethiraj

ATLAS-1281: audit logs should written only to audit.log and not application.log

parent cd342783
......@@ -75,7 +75,7 @@
<appender-ref ref="console"/>
</logger>
<logger name="AUDIT">
<logger name="AUDIT" additivity="false">
<level value="info"/>
<appender-ref ref="console"/>
</logger>
......
......@@ -88,8 +88,6 @@ public class AuditFilter implements Filter {
final String whatURL = Servlets.getRequestURL(httpRequest);
final String whatAddrs = httpRequest.getLocalAddr();
LOG.info("Audit: {}/{} performed request {} {} ({}) at time {}", who, fromAddress, whatRequest, whatURL,
whatAddrs, whenISO9601);
audit(who, fromAddress, whatRequest, fromHost, whatURL, whatAddrs, whenISO9601);
}
......@@ -109,4 +107,4 @@ public class AuditFilter implements Filter {
public void destroy() {
// do nothing
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment