https://github.com/augustd/owasp-security-logging
OWASP Security Logging library for Java
https://github.com/augustd/owasp-security-logging
java log4j logback logging security
Last synced: 1 day ago
JSON representation
OWASP Security Logging library for Java
- Host: GitHub
- URL: https://github.com/augustd/owasp-security-logging
- Owner: augustd
- License: apache-2.0
- Created: 2014-04-06T13:32:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T21:50:27.000Z (about 2 years ago)
- Last Synced: 2026-01-14T17:28:41.713Z (3 days ago)
- Topics: java, log4j, logback, logging, security
- Language: Java
- Homepage: https://www.owasp.org/index.php/OWASP_Security_Logging_Project
- Size: 321 KB
- Stars: 119
- Watchers: 16
- Forks: 35
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-java - OWASP Security Logging
README
[](https://travis-ci.org/javabeanz/owasp-security-logging)
[](https://bestpractices.coreinfrastructure.org/projects/140)
[](https://scan.coverity.com/projects/3657)
[](https://codecov.io/github/javabeanz/owasp-security-logging?branch=master)
[](https://www.codacy.com/app/java-development/owasp-security-logging)
[![License][license-image]][license-url]
[![Version][maven-version]][maven-url]
owasp-security-logging
======================
[OWASP Security Logging Project](https://www.owasp.org/index.php/OWASP_Security_Logging_Project) - Standard Java API to log security related events. [Documentation](https://github.com/javabeanz/owasp-security-logging/wiki)
View our [AppSec Europe 2016 presentaton about this project](http://www.slideshare.net/MiltonSmith6/how-to-use-owasp-security-logging) on SlideShare.
## Usage with Maven:
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:
```xml
org.owasp
security-logging-logback
LATEST
```
(Also see [Usage with Logback](https://github.com/javabeanz/owasp-security-logging/wiki/Usage-with-Logback))
To use it with Log4j, add:
```xml
org.owasp
security-logging-log4j
LATEST
```
(Log4j users please see [Usage with Log4j](https://github.com/javabeanz/owasp-security-logging/wiki/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.
----
[license-url]: https://github.com/javabeanz/owasp-security-logging/blob/master/LICENSE
[license-image]: https://img.shields.io/badge/license-apache%20v2-brightgreen.svg
[maven-url]: https://search.maven.org/#search%7Cga%7C1%7Cowasp%20security%20logging
[maven-version]: https://img.shields.io/maven-central/v/org.owasp/security-logging.svg?style=flat