From af339e92236dbd9c4428ee461a2ccd9c664b2cd2 Mon Sep 17 00:00:00 2001 From: Nihal Mirpuri Date: Sun, 11 Feb 2024 17:51:23 +0000 Subject: [PATCH] hot-switch logging implementation --- build.sbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 23e77bf..a74c325 100644 --- a/build.sbt +++ b/build.sbt @@ -15,6 +15,8 @@ val circeVersion = "0.14.6" val fs2Version = "3.7.0" val http4sVersion = "0.23.23" val logbackVersion = "1.4.11" +val log4jVersion = "2.20.0" +val log4jScalaVersion = "12.0" val scalamockVersion = "5.2.0" val scalatestVersion = "3.2.17" val shapelessVersion = "2.3.10" @@ -23,7 +25,7 @@ val vaultVersion = "3.5.0" libraryDependencies ++= Seq( "org.scala-lang" % "scala-library" % scalaVersion.value % "provided", - "ch.qos.logback" % "logback-classic" % logbackVersion % Runtime, +// "ch.qos.logback" % "logback-classic" % logbackVersion % Runtime, "org.slf4j" % "slf4j-api" % slf4jVersion, "org.http4s" %% "http4s-ember-client" % http4sVersion, "org.http4s" %% "http4s-circe" % http4sVersion, @@ -33,6 +35,8 @@ libraryDependencies ++= Seq( "co.fs2" %% "fs2-io" % fs2Version, "com.chuusai" %% "shapeless" % shapelessVersion, "io.circe" %% "circe-core" % circeVersion, + "org.apache.logging.log4j" % "log4j-core" % log4jVersion, + "org.apache.logging.log4j" %% "log4j-api-scala" % log4jScalaVersion, "org.typelevel" %% "case-insensitive" % caseInsensitiveVersion, "org.typelevel" %% "cats-core" % catsCoreVersion, "org.typelevel" %% "cats-effect" % catsEffectVersion,