Download
Apache Log4j Scala API is distributed under the Apache License, version 2.0. The link in the Mirrors column should display a list of available mirrors with a default selection based on your inferred location. If you do not see that page, try a different browser. The checksum and signature are links to the originals on the main distribution server.
Distribution | Mirrors | Signature | SHA-256 | SHA-512 |
---|---|---|---|---|
Apache Log4j Scala API binary (tar.gz) |
||||
Apache Log4j Scala API binary (zip) |
||||
Apache Log4j Scala API source (tar.gz) |
||||
Apache Log4j Scala API source (zip) |
It is essential that you verify the integrity of the downloaded files using the PGP signatures or the SHA-2 checksum files (SHA-256 or SHA-512). Please read Verifying Apache HTTP Server Releases for more information on why you should verify our releases.
The PGP signatures can be verified using PGP or GPG. First download the KEYS as well as the asc signature file for the relevant distribution. Make sure you get these files from the main distribution directory, rather than from a mirror. Then verify the signatures using:
gpg --import KEYS
gpg --verify apache-log4j-api-scala-12.0-bin.tar.gz.asc apache-log4j-api-scala-12.0-bin.tar.gz
gpg --verify apache-log4j-api-scala-12.0-bin.zip.asc apache-log4j-api-scala-12.0-bin.zip
gpg --verify apache-log4j-api-scala-12.0-src.tar.gz.asc apache-log4j-api-scala-12.0-src.tar.gz
gpg --verify apache-log4j-api-scala-12.0-src.zip.asc apache-log4j-api-scala-12.0-src.zip
Log4j Scala API requires Log4j API.
Using SBT
How to add Log4j Scala API to your project using Log4j 2:
libraryDependencies ++= Seq(
"org.apache.logging.log4j" %% "log4j-api-scala" % "12.0",
"org.apache.logging.log4j" % "log4j-core" % "2.13.0" % Runtime
)