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)