I don't see any log statements in my repl after a cider-ns-refresh
. Here is what I see in the *nrepl-message
:
15 is a regular repl command, the response out
is a log statement that is printed in the repl
17 is a refresh, the response out
is a log statement that is not printed in the repl
(-->
id "15"
op "eval"
session "b0f68092-94b9-45ff-8d25-240ec25c0fad"
time-stamp "2021-05-07 19:46:03.113738702"
code "(log/info :in ::-main :msg \"Let there be light!\")"
column 24
file "*cider-repl ~/my-program:localhost:9676(clj)*"
line 48
nrepl.middleware.print/buffer-size 4096
nrepl.middleware.print/options (dict ...)
nrepl.middleware.print/print "cider.nrepl.pprint/pprint"
nrepl.middleware.print/quota 1048576
nrepl.middleware.print/stream? "1"
ns "my.main"
)
(<--
id "15"
session "b0f68092-94b9-45ff-8d25-240ec25c0fad"
time-stamp "2021-05-07 19:46:03.158979206"
out "2021-05-07T17:46:03.128 [nREPL-session-b0f68092-94b9-45ff-8d...}
"
)
(-->
id "17"
op "refresh"
session "b0f68092-94b9-45ff-8d25-240ec25c0fad"
time-stamp "2021-05-07 19:46:37.404720694"
after "com.stuartsierra.component.repl/start"
before "com.stuartsierra.component.repl/stop"
nrepl.middleware.print/buffer-size 4096
nrepl.middleware.print/options (dict ...)
nrepl.middleware.print/print "cider.nrepl.pprint/pprint"
nrepl.middleware.print/quota 1048576
nrepl.middleware.print/stream? "1"
)
(<--
id "17"
session "b0f68092-94b9-45ff-8d25-240ec25c0fad"
time-stamp "2021-05-07 19:46:37.424945520"
out "2021-05-07T17:46:37.406 [nREPL-session-b0f68092-94b9-45ff-8d..."
)
I don't understand why the second out doesn't print in the repl (it doesn't print anywhere but in the nrepl-message, after I enabled them)ok I figured, they go to a cider-ns-refresh-log buffer