Open eduarevalo opened 1 year ago
4.4.0
No extra logs produced when running liquibase from the API.
Here an snippet:
const liquibase = new Liquibase({ ...., logLevel: "debug" }); liquibase.update({}).then((result) => log(`${dbName} update result: ${result}`))
I see only the liquibase CLI command and a few empty lines:
Example:
[Nest] 48804 - 10/12/2022, 12:08:14 PM LOG [RouterExplorer] Mapped {/health, GET} route +3ms [NODE-LIQUIBASE] Running ****/dist/liquibase/liquibase --changeLogFile="***-changelog.xml" --url="jdbc:sqlserver://localhost;databaseName=***;encrypt=true;trustServerCertificate=true" --username="***" --password="***" --classpath="***/dist/liquibase/bin/mssql-jdbc-10.2.1.jre8.jar" --logLevel="warning" update ... [NODE-LIQUIBASE] Running ****/dist/liquibase/liquibase --changeLogFile="***-changelog.xml" --url="jdbc:sqlserver://localhost;databaseName=***;encrypt=true;trustServerCertificate=true" --username="***" --password="***" --classpath="***/dist/liquibase/bin/mssql-jdbc-10.2.1.jre8.jar" --logLevel="debug" update ... [NODE-LIQUIBASE] [Nest] 48804 - 10/12/2022, 12:08:24 PM LOG [LiquibaseService] CompilationDb update result: [NODE-LIQUIBASE] [Nest] 48804 - 10/12/2022, 12:09:13 PM LOG [LiquibaseService] MeasureDb update result:
[Description of the bug or feature]
Expected behavior: [What you expected to happen] See debug lines to identify slowness issues.
Actual behavior: [What actually happened] No logs or empty log lines
I think debug word is not supported, you should use fine https://docs.liquibase.com/parameters/log-level.html
debug
fine
Context
Node-Liquibase Version
4.4.0
Liquibase Version (if not bundled)
Description
No extra logs produced when running liquibase from the API.
Steps to Reproduce
Here an snippet:
I see only the liquibase CLI command and a few empty lines:
Example:
[Description of the bug or feature]
Expected behavior: [What you expected to happen] See debug lines to identify slowness issues.
Actual behavior: [What actually happened] No logs or empty log lines