view_log() | Database Utilities | Teradata Python Package - view_log() - Teradata Package for Python

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.00
Published
November 2021
Language
English (United States)
Last Update
2022-01-14
dita:mapPath
bol1585763678431.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
Product Category
Teradata Vantage

Use the view_log() function to view script log on Vantage. Logs are pulled from 'scriptlog' file on database node.

Optional arguments:
  • log_type specifies the log to view.

    The permitted and default value is 'script', which indicates that the script log will be pulled from database node.

  • num_lines specifies the number of lines to be read and displayed from script log.

    The default value is 1000.

Example

view_log(log_type="script", num_lines=200)