简体   繁体   English

维护 LOG 文件 - Tableau 中的 ODBC 连接到雪花

[英]Maintain LOG files - ODBC connection in Tableau to Snowflake

We are using Tableau and we are connecting to Snowflake via Tableau SF connector.我们正在使用 Tableau,并通过 Tableau SF 连接器连接到 Snowflake。 We can check LOG parameters in registry HKEY_LOCAL_MACHINE\SOFTWARE\Snowflake\Driver.我们可以在注册表 HKEY_LOCAL_MACHINE\SOFTWARE\Snowflake\Driver 中查看 LOG 参数。

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)?是否有任何参数可以控制最大日志文件大小(maxFileSize) 和最大保留日志文件滚动(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)我们检查了以下链接,但找不到答案(我们可以更改 logLevel)

logging parameters example in registry注册表中的日志记录参数示例

The improvements for ODBC log settings have been added to version 2.23.2 ODBC 日志设置的改进已添加到版本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 :不幸的是,它们还没有正确反映在 ODBC 配置参数文档中,但是从 2.23.2 开始,除了LogLevelLogPath之外还有 2 个额外的参数:

LogFileSize日志文件大小

LogFileCount日志文件计数

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM