# Log4j2 - dependencies

DevFeed: [Log4j2 - dependencies](<https://devfeed.tech/articles/log4j2-dependencies-31980.md>)

Original publisher: [Read original article](<https://tech.finn.no2014/10/27/log4j2-bringing-together-the-dependencies/>)

Author: mick

Published: 2014-10-27T11:50:00Z

Content type: tutorial

Language: en

Sources: [Finn.no](<https://devfeed.tech/sources/finn-no.md>)

Topics: [log4j](<https://devfeed.tech/topics/log4j.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [logstash](<https://devfeed.tech/topics/logstash.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [library](<https://devfeed.tech/tags/library.md>), [log4j](<https://devfeed.tech/tags/log4j.md>), [logging](<https://devfeed.tech/tags/logging.md>), [logstash](<https://devfeed.tech/tags/logstash.md>)

## AI overview

The article describes bundling Log4j2, Logstash, and related logging dependencies into one library so codebases can consistently route logging abstractions through Log4j2 and use Logstash configuration.

## Source excerpt

To make it easy for all our codebases, to automatically have all logging abstractions pointing towards log4j2 along with logstash configured, we have bundled together the dependencies via one library. These dependencies look like: <!-- core libraries --> org.apache.logging.log4j:log4j-api:2.0.2 org.apache.logging.log4j:log4j-core:2.0.2 com.lmax:disruptor:3.2.1 <!-- commons-logging --> org.apache.logging.log4j:log4j-jcl:2.0.2 org.apache.logging.log4j:log4j-1.2-api:2.0.2 <!-- slf4j --> org.slf4j:slf4j-api:1.7.7 <!-- JUL routed through slf4j --> org.apache.logging.log4j:log4j-slf4j-impl:2.0.2 <!-- override old log4j with an empty jarfile --> <!-- incase it gets re-introduced transitively --> log4j:log4j:2-empty <!-- logstash --> net.logstash.log4j2:log4j2-logstash-jsonevent-layout:3.0.0-finn-2