OWASP Security Logging Project - Standard Java API to log security related events. Documentation
View our AppSec Europe 2016 presentaton about this project on SlideShare.
As of version 1.1.0 Logback and Log4j support are in separate projects. To use OWASP Security Logging with Logback, add the following Maven dependency to pom.xml:
<dependency>
<groupId>org.owasp</groupId>
<artifactId>security-logging-logback</artifactId>
<version>LATEST</version>
</dependency>
(Also see Usage with Logback)
To use it with Log4j, add:
<dependency>
<groupId>org.owasp</groupId>
<artifactId>security-logging-log4j</artifactId>
<version>LATEST</version>
</dependency>
(Log4j users please see Usage with Log4j)
Maven imports will automatically include the common classes. If using OWASP Security Logging on your classpath, you need to include security-logging-common-VERSION.jar in addition to the correct jar for either Logback or Log4j.