--severity

Last updated: April 30, 2026

Set the severity return code (0–4) when the check is triggered. Default: 0.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--severity=<0|1|2|3|4>

Liquibase properties file (defaults file)

liquibase.command.checks.<subcommand>.severity: <string>

Command flow file argument (example)

cmdArgs: { severity: "<0|1|2|3|4>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.checks.<subcommand>.severity=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_CHECKS_<SUBCOMMAND>_SEVERITY=<string>