Make logger middleware work again
This commit is contained in:
parent
63fae9cc34
commit
d8eaeb2eb9
@ -5,6 +5,7 @@
|
||||
:dependencies [[compojure "1.6.1"]
|
||||
[environ "1.1.0"]
|
||||
[hiccup "1.0.5"]
|
||||
[lambdaisland/ring.middleware.logger "0.5.1"]
|
||||
[org.clojure/clojure "1.9.0"]
|
||||
[ring/ring-devel "1.7.1"]
|
||||
[ring/ring-jetty-adapter "1.7.1"]]
|
||||
|
@ -21,9 +21,7 @@
|
||||
[clojure.string :as s]
|
||||
[clojure.java.io :as io]
|
||||
[ring.adapter.jetty :as jetty]
|
||||
;; FIXME morgan.astra <2018-11-14 Wed>
|
||||
;; make this logger work or use another one
|
||||
;; [ring.middleware.logger :as logger]
|
||||
[ring.middleware.logger :as logger]
|
||||
[ring.middleware.stacktrace :as trace]
|
||||
[ring.middleware.params :as params]
|
||||
[ring.middleware.resource :refer [wrap-resource]]
|
||||
@ -79,9 +77,7 @@
|
||||
;; (wrap-resource "images")
|
||||
wrap-content-type
|
||||
wrap-not-modified
|
||||
;; FIXME morgan.astra <2018-11-14 Wed>
|
||||
;; make this logger work or use another one
|
||||
;logger/wrap-with-logger
|
||||
logger/wrap-with-logger
|
||||
wrap-error-page
|
||||
wrap-gnu-natalie-nguyen
|
||||
trace/wrap-stacktrace
|
||||
|
Loading…
Reference in New Issue
Block a user