Skip to content

Ark: Jupyter: Verbose logging makes jupyter-console unusable #2098

@lionel-

Description

@lionel-

By default (i.e. --log option not supplied) we stream log messages to stdout/stderr. This makes jupyter-console unusable when verbosity is high because jupyter-client, used by jupyter-console, launches the kernel with subprocess.Popen() without stdout capture, which causes the kernel streams to be inherited by the jupyter-console REPL process.

To fix this we could add a --log-temp option that would create log files in $TEMPDIR/ark-logs. These would be time-stamped to make it easy to find the relevant log file when debugging. Supplying both --log and --log-temp would be an error. We would supply that option by default in our kernel.json file.

Metadata

Metadata

Labels

area: kernelsIssues related to Jupyter kernels and LSP serverslang: r

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions