Fork me on GitHub
#cursive
<
2022-06-29
>
simongray09:06:28

Lately I’m not receiving most log messages that I was used to. I wonder what changed? If I require e.g. clojure.tools.logging and try to execute some of the logging functions nothing is printed… I have no idea what changed or how to get back my logging output.

1
Ivar Refsdal09:06:03

Is this a remote repl? Does it print on the console there?

Ivar Refsdal09:06:39

It has a gist that solves the issue...

simongray09:06:22

no, local one

simongray10:06:14

Mystery solved: I recently switched my REPL invocation in Run Configurations from Run with deps to Run with IntelliJ project classpath and apparently using the latter kills most logging…? Very odd, but going back to Run with deps solves the issue for me so… 🤷

1
simongray10:06:46

@U0567Q30W Do you have any idea why this differs?

Alex Miller (Clojure team)12:06:53

If you can try both cases, start a repl and (System/getProperty “java.class.path”) and compare

Alex Miller (Clojure team)12:06:42

If I had to guess, in one case you're missing a logging config resource or something like that

👍 1
staypufd01:06:58

@U4P4NREBY Was what Alex mentions the issue?

Ivar Refsdal07:06:35

Run with IntelliJ project classpath works, and is what I usually choose, here. What type of REPL are you starting? clojure.main or nREPL?

simongray09:06:41

not even sure it’s a Cursive issue tbh…