How to enable debug log for Python Notebook?

How to enable debug log for Python Notebook?

book

Article ID: KB0072578

calendar_today

Updated On:

Products Versions
Spotfire Data Science Team Studio 6.5, 6.6

Description

This article explains the steps to enable debug log for Python Notebook used by the TIBCO Data Science Team Studio. 

Issue/Introduction

This article explains the steps to enable debug log for Python Notebook used by the TIBCO Data Science Team Studio.

Environment

Unix based.

Resolution

The debug log for Notebook can be enabled from the notebook server command line.

Follow the below steps to enable debug logs:

1. Login to the Notebook server.
2. open /opt/notebooks/settings.ini file for editing.
3. Set Logging level as given below:
  [Logging]
  level = DEBUG

4. Restart the notebook application using the below command.
    > systemctl restart tsnotebooks

5. Now debug logs for Notebook will be available in the following file:
/var/log/messages