Search code examples
loggingodbctableau-apisnowflake-cloud-data-platform

Maintain LOG files - ODBC connection in Tableau to Snowflake


We are using Tableau and we are connecting to Snowflake via Tableau SF connector. We can check LOG parameters in registry HKEY_LOCAL_MACHINE\SOFTWARE\Snowflake\Driver.

We have a problem, how to maintain the log file.

  • Are there any parameters that we can control max log file size (maxFileSize) and max retention log files rolling (maxBackupIndex)?
  • What is the proper way to clean the log file?

We have checked the following links, but we cannot find answers (we can change logLevel)

logging parameters example in registry


Solution

  • The improvements for ODBC log settings have been added to version 2.23.2

    Unfortunately they aren't yet reflected properly in the ODBC configuration parameters documentation, but as of 2.23.2 there 2 extra parameters besides LogLevel and LogPath:

    LogFileSize

    LogFileCount