-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logs not showing up in repl when using Clojure CLI #359
Comments
@noahmoss Thanks for your reporting! As far as I tried, it seems cider-nrepl's As a workaround, editing -BASE_MIDDLEWARES='cider.nrepl/wrap-classpath cider.nrepl/wrap-clojuredocs cider.nrepl/wrap-complete cider.nrepl/wrap-debug cider.nrepl/wrap-format cider.nrepl/wrap-info cider.nrepl/wrap-macroexpand cider.nrepl/wrap-ns cider.nrepl/wrap-out cider.nrepl/wrap-refresh cider.nrepl/wrap-spec cider.nrepl/wrap-test cider.nrepl/wrap-trace cider.nrepl/wrap-undef cider.nrepl/wrap-xref refactor-nrepl.middleware/wrap-refactor iced.nrepl/wrap-iced'
+BASE_MIDDLEWARES='cider.nrepl/wrap-classpath cider.nrepl/wrap-clojuredocs cider.nrepl/wrap-complete cider.nrepl/wrap-format cider.nrepl/wrap-info cider.nrepl/wrap-macroexpand cider.nrepl/wrap-ns cider.nrepl/wrap-out cider.nrepl/wrap-refresh cider.nrepl/wrap-spec cider.nrepl/wrap-test cider.nrepl/wrap-trace cider.nrepl/wrap-undef cider.nrepl/wrap-xref refactor-nrepl.middleware/wrap-refactor iced.nrepl/wrap-iced' |
Awesome, thanks! |
@liquidz Yes, downgrading seems to have fixed it, thanks! |
We should still consider upgrading cider-nrepl, recently I am suffering problem like clojure-emacs/cider-nrepl#719, where re-throwed exception may block iced from reporting test error. I am using aforementioned workaround editing |
@bootleq Sorry to bother you. |
@liquidz Just tried the |
@noahmoss Thanks for your confirmation! |
Hi @liquidz!
At Metabase we just switched from using Leiningen to using the Clojure CLI with deps.edn.
vim-iced is working pretty smoothly still, however I have one issue: logs are not showing up in the repl when I start it with
iced repl --without-cljs -A:dev
. Logs do work properly, however, when I start the repl withclj -A:dev
, so it seems like might be a problem with theiced
command? We are usingclojure.tools.logging
and log4j2, and printing to stdout still works fine, just not logging.Do you have any idea what the problem might be? Thanks!
The text was updated successfully, but these errors were encountered: