Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Enabling Snowflake tracing log in Talend Studio components

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Enabling Snowflake tracing log in Talend Studio components

Last Update:

Jan 22, 2024 9:35:30 PM

Updated By:

Jamie_Gregory

Created date:

Aug 29, 2022 9:03:33 AM

Use one of the following options to enable the Snowflake tracing log.

 

Option 1 - Using the Snowflake connection component

 

Add "tracing=All" to the component Advanced Settings > Additional JDBC Parameters field.

 

0EM5b000008gEfi.png

 

Option 2 - Using the JDBC connection component

 

Configure the JDBC URL using the following parameters:

jdbc:snowflake://<account>.snowflakecomputing.com?db=<dbname>&warehouse=<whname>&schema=<scname>&tracing=ALL
 

0EM5b000008gEgH.png

 

Locating the trace logs

 

You can locate the trace log, stored in the tmp log file directory, by running a tJava component with the following code:

 
System.out.printIn(System.getProperty("java.io.tmpdir"));
 

0EM5b000008gEgW.png

 

For more information, see the Snowflake KB article, How To: Generate log files for Snowflake Drivers & Connectors

Labels (2)
Comments
dgreenx
Creator
Creator

The above does not generate/compile.

Better to use something like this:

tSetGlobalVar: myData is set to System.getProperty("java.io.tmpdir")

tMsgBox has something like the following:

"Hello world!
Here is myData: " + ((String)globalMap.get("myData"))

dgreenx
Creator
Creator

I was referring to the tJava component to find the temp dir. I am using Java 17 environment.

dgreenx
Creator
Creator

or you can change the

System.out.printIn

to

System.out.print
Xiaodi_Shi
Support
Support

Hello @dgreenx 

Thanks for your input and suggestion. We will check the issue you raised and update this article later

Best regards

Sabrina

Version history
Last update:
‎2024-01-22 09:35 PM
Updated by: