Was this helpful?
Sending UDF output to the process log
There are methods in both Javascript and Python to write the output to the UDF process log file. This will be useful during debugging. For example:
Javascript:
console.log ( "Logged message” ) to log an info level message
console.error ( "Logged error” ) to log an error level message
Python:
vectorwise.log (<severity>, "Logged message”)
<severity> must be a string container one of the following:
error – to log an error level message
info – to log an info level message
An exception will be raised if the severity is not recognized.
Last modified date: 03/21/2024