Log4J addons/modules comprising:
log4jextras-json
- JSON layoutlog4jextras-splunk
- Splunk HEC appender
Select just the module(s) that you need from the list above.
The builds are hosted on JCenter. (Maven users may need to add the JCenter repository to their POM.) Simply add the following snippet to your build file. Replace the version placeholder x.y.z
in the snippet with the version shown on the Download badge at the top of this README, and log4jextras-module
with the name of the actual module you need.
For Maven:
<dependency>
<groupId>com.obsidiandynamics.log4jextras</groupId>
<artifactId>log4jextras-module</artifactId>
<version>x.y.z</version>
<type>pom</type>
</dependency>
For Gradle:
compile 'com.obsidiandynamics.log4jextras:log4jextras-module:x.y.z'