Product: TIBCO Spotfire®
Jupyter Python Notebooks Logs
In some cases, such as when a job hangs in the cluster, the Notebook in Chorus does not give any notification that an issue is present. If you expect your Notebook has been running for too long, you can interrupt or restart the kernel and check the jupyter.log file for more information. To do this, follow the steps below.
- First you must stop the kernel. Click the 'kernel' tab at the top of the Notebook, and choose to either restart or interrupt.
Run the below command in your Notebook to return the logs.
import subprocess print subprocess.check_output("cat $CHORUS_NOTEBOOK_HOME/jupyter.log", shell=True)