Skip to content

Output Destinations#

Calva categorizes output into three types:

  • evaluation results: Clojure data returned from an evaluation.
  • evaluation output: stdout/stderr from an evaluation
  • other output: Other messages, logs, etc

With the setting calva.outputDestinations, you can configure where each category of output should go to:

REPL process output (stdout and stderr)#

When Calva is connected to the REPL, the Output window will by default print not only results of evaluations, but also:

  1. Things printed to stdout and stderr in the main thread of the evaluations
  2. Things printed to stdout and stderr from child threads of the evaluations
  3. Anything printed to stdout and stderr by the REPL process

You can control the default via the calva.redirectServerOutputToRepl setting. It defaults to true. Setting it to false before connecting the REPL will result in that 2. and 3. will not get printed in the Output window. It will then instead be printed wherever the REPL process is printing its messages, usually the terminal from where it was started (the Jack-in terminal if Calva started the REPL).