4
votes

I am using emacs for clojure development. I use M-X cider-jack-in for repl.

When i ran my jetty server with one handler for file-upload, i saw that file-upload was not working. But repl was not showing any pprint logs.

I switched to console and did lein repl. After i did the workflow again, i saw the request logs and exception.

I wasted a lot of time in thinking what was going wrong.

can we enable that logging would be directed to repl ?

1
Which CIDER version are you using?Bozhidar Batsov

1 Answers

4
votes

check the buffer *nrepl-server* to see the full output. It's not visible by default in the buffer list though it will likely have what you are looking for.

Ctrl-x b *nrepl-server tab will cycle through the output buffers for your various cider sessions.

In practice mapping the output to the repl for all threads makes using the REPL really hard because I can't type without being interrupted.