pjlegato / ring.middleware.logger

Ring middleware to log each request
58 stars 24 forks source link

CompilerException when starting up, probably from a dependency of ring.middleware.logger #25

Open awvalenti opened 5 years ago

awvalenti commented 5 years ago

clojure.lang.Compiler$CompilerException: Syntax error macroexpanding clojure.core/ns at (onelog/core.clj:1:1).

legkvla commented 4 years ago

Has the same issue! Clojure 1.10.1

aravindbaskaran commented 4 years ago

Found a way out

https://github.com/pjlegato/onelog has fixed the macro expansion issues with :import in ns definition in version 0.5.1 but that has not been published to clojars yet for some reason.

So, you can fork https://github.com/pjlegato/onelog master, run a local lein install and use that in your project references

[ring.middleware.logger "0.5.0" :exclusions [onelog]]
[onelog "0.5.1"]

Hope it helps

aravindbaskaran commented 4 years ago

Just figured there is [onelog "0.5.0"] which is available on clojars with the fix