Logging Notebook's Stdout to File On Server?

Is there a way to log everything that goes through a notebook’s stdout to a file on the notebook server? I’ve tried the logstart magic but that doesn’t log anything that is printed. I’ve also tried setting ZMQInteractiveShell.logappend in the notebook config.

1 Like