diff options
author | Morgan Astra <m@morganastra.me> | 2018-11-15 01:01:43 -0800 |
---|---|---|
committer | Morgan Astra <m@morganastra.me> | 2018-11-15 01:01:43 -0800 |
commit | d8eaeb2eb9b2dbb679a280f2e5ec92ce1f5a7c5e (patch) | |
tree | d0d5e2db1908093592d25a8729f6f95ead860a6e /src | |
parent | 63fae9cc340f513bdb7eca9f10716a02929188cb (diff) |
Make logger middleware work again
Diffstat (limited to 'src')
-rw-r--r-- | src/pronouns/web.clj | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index ab887d0..25f8a78 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -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 |