Commit ca2f00c2 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

see end-to-end#56 better logging

parent db219e41
Pipeline #14337 passed with stages
in 2 minutes and 3 seconds
......@@ -6,6 +6,7 @@
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/tools.cli "0.3.5"]
[ring "1.5.0"]
[ring-logger "1.0.1"]
[compojure "1.5.1"]
[instaparse "1.4.9"]
[cheshire "5.5.0"]
......
......@@ -8,6 +8,7 @@
[ring.middleware.reload :refer [wrap-reload]]
[ring.middleware.params :refer [params-request]]
[ring.util.request :refer [body-string]]
[ring.logger :as logger]
[compojure.core :refer :all]
[hiccup.core :as hiccup]
[cheshire.core :refer [parse-string generate-string]]
......@@ -65,8 +66,10 @@
)
(def app
(wrap-reload
#'myapp)
(logger/wrap-with-logger
(wrap-reload
#'myapp)
)
)
(defn -main [s]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment