Skip to content

Commit

Permalink
Merge pull request #24 from pitch-io/remove-slf4j-timbre
Browse files Browse the repository at this point in the history
Remove slf4j and silence some more logs
  • Loading branch information
jo-sm committed Apr 25, 2023
2 parents b739282 + b6059e0 commit 1353723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion cljest/deps.edn
@@ -1,7 +1,6 @@
{:deps {appliedscience/js-interop {:mvn/version "0.2.3"}
cheshire/cheshire {:mvn/version "5.10.2"}
com.taoensso/timbre {:mvn/version "5.2.1"}
com.fzakaria/slf4j-timbre {:mvn/version "0.3.21"}
io.aviso/pretty {:mvn/version "1.3"}
lambdaisland/deep-diff2 {:mvn/version "2.4.138"}
metosin/malli {:mvn/version "0.10.1"}
Expand Down
4 changes: 3 additions & 1 deletion cljest/src/cljest/compilation/server.clj
Expand Up @@ -14,7 +14,9 @@
;; Jetty announces some debug information when it's imported, so to avoid this we require after telling it not
;; to announce.
;; Thanks to https://github.com/active-group/active-logger#jetty.
(.setProperty (org.eclipse.jetty.util.log.Log/getProperties) "org.eclipse.jetty.util.log.announce" "false")
(. System (setProperty "org.eclipse.jetty.util.log.announce" "false"))
(. System (setProperty "org.eclipse.jetty.util.log.class" "org.eclipse.jetty.util.log.StdErrLog"))
(. System (setProperty "org.eclipse.jetty.LEVEL" "OFF"))

(require '[ring.adapter.jetty :refer [run-jetty]])

Expand Down

0 comments on commit 1353723

Please sign in to comment.