Posted On: Dec 9, 2016

You can now use the standard Python logging module to log error and warning messages from Amazon Redshift user-defined functions (UDF). You can then query the SVL_UDF_LOG system view to retrieve the messages logged from your UDF’s and troubleshoot your UDF’s easily.

For more information and examples, see Logging Errors and Warnings in UDFs in the Amazon Redshift Database Developer Guide.