Liquibase® version 3.8.2 is now available! Get it for free.
2018 XML Announcement
News 5 Ways to Fix a Bad Database Change in Liquibase
04 Dec 2019

- and/or -

All Previous Posts >>

Change: ‘output’

Logs a message and continues execution.

Available Attributes

NameDescriptionRequired ForSupportsSince
messageMessage to outputall
targetTarget for message. Possible values: STDOUT, STDERR, FATAL, WARN, INFO, DEBUG. Default value: STDERRall
<changeSet author="liquibase-docs" id="output-example">
    <output target="STDERR">Make sure you feed the cat</output>
</changeSet>
changeSet:
  id: output-example
  author: liquibase-docs
  changes:
  - output:
      message: Make sure you feed the cat
      target: STDERR
{
  "changeSet": {
    "id": "output-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "output": {
          "message": "Make sure you feed the cat",
          "target": "STDERR"
        }
      }]
    
  }
}

SQL Generated From Above Sample (MySQL)

Database Support

DatabaseNotesAuto Rollback
DB2SupportedNo
DB2SupportedNo
DerbySupportedNo
FirebirdSupportedNo
H2SupportedNo
HyperSQLSupportedNo
INGRESSupportedNo
InformixSupportedNo
MariaDBSupportedNo
MySQLSupportedNo
OracleSupportedNo
PostgreSQLSupportedNo
SQL ServerSupportedNo
SQLiteSupportedNo
SybaseSupportedNo
Sybase AnywhereSupportedNo