Skip to content

Commit

Permalink
fix: change condition for logger in SnowsqlExportAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiří Novák committed Feb 11, 2025
1 parent af8d445 commit 64675c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extractor/SnowsqlExportAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private function createSnowSqlConfig(SnowflakeDatabaseConfig $databaseConfig): S
$cliConfig[] = sprintf('schemaname = "%s"', $databaseConfig->getSchema());
}

if ($databaseConfig->getLogLevel()) {
if ($databaseConfig->getLogLevel() !== 'INFO') {
$cliConfig[] = sprintf('log_level = "%s"', $databaseConfig->getLogLevel());
if ($databaseConfig->getLogLevel() === 'DEBUG') {
$cliConfig[] = sprintf('log_file = "%s"', $this->snowSqlLogFile->getPathname());
Expand Down

0 comments on commit 64675c4

Please sign in to comment.