Log report in liquibase db migration tool

I have implemented liquibase db migration framework in my application. I am running the command line tool of this framework. It is working fine. Now I need a success or failure report from the logs generated from this tool.

The error may be framework related (e.g. specifying wrong parameters on command line or specifying wrong database etc.) as well as database related (e.g. syntax error in sql query, any constraint violation error). Does anyone have any idea of how to generate that report, how to get logs etc.

-------------Problems Reply------------

If you're running liquibase from the command line you can test the return for code sucess or failure:

liquibase update && echo "It worked"

Example

$ liquibase update && echo "It worked"
Liquibase Home: /opt/liquibase-2.0.3
INFO 26/12/11 17:36:liquibase: Successfully acquired change log lock
INFO 26/12/11 17:36:liquibase: Reading from DATABASECHANGELOG
INFO 26/12/11 17:36:liquibase: Reading from DATABASECHANGELOG
INFO 26/12/11 17:36:liquibase: Successfully released change log lock
Liquibase Update Successful
It worked

Category:liquibase Views:0 Time:2011-12-26
Tags: liquibase

Related post

  • What am I doing wrong in trying to deploy with the Force.com Migration Tool (ANT) 2011-01-22

    I'm currently trying to work my through a SalesForce.com tutorial on "Deploying with the Force.com Migration Tool (ANT)". I’m sure I’m missing something… possibly because my knowledge and experience with Ant has been very limited. I created a new Jav

  • TFS to TFS Migration Tool - domain issues 2009-03-17

    A 3rd party has developed some applications for us and has been using MS Team Foundation Server 2008 for their source control. My company has recently setup our TFS 2008 environment and we're trying to migrate the source code from the 3rd party devel

  • Sql Server Migration tool not quite working 2009-07-27

    I was finally able to get the schema correct on both sides. Im ready to run the final step and.... Data migration started.... Data migration failed... System.Data.OracleClient requires Oracle client software version 8.1.7 se I have done ever suggesti

  • Mysql migration tool, source parameter string | connection string for sql server 2009-08-02

    I always got failed to "fetching of list failed error" this is my connection string in asp.NET "Data Source=maywood\XSQLSERVER;Initial Catalog=maywood_test;Integrated Security=SSPI" What exactly i should input at Mysql migration tool for source param

  • Migration tool from TSQL to PL/SQL? 2010-06-29

    We need to migrate our database from MSSQL to Oracle and we have over 100 stored procedures written in PL/SQL TSQL. I know its a long shot, but has anybody ever successfully used an automatic migration tool to do the work? I've seen some tools on the

  • Force.com Migration Tool : Email Templates 2011-11-15

    I am looking to retrieve all email templates using Force.com ant migration tool. I believe we can not have bulk retrieve for Email Templates, Reports etc. Is there any way we can retrieve all email templates in one go without specifying each template

  • Mail Migration Tool 2012-02-12

    I have decided to move from my desktop email client "Outlook 2007" to Outlook.com for my email on my Windows 7 PC. I have many mail folders in Outlook 2007 that I want to move to Outlook.com. I have tried many times to use the Microsoft Mail Migratio

  • Evernote activity log reported "INTERNET_CANNOT_CONNECT" as the error. 2013-12-30

    Original Title: pigmy-sql approximately 2 days ago my evernote sync function began to fail. this coincided roughly with the download of Picasa from Google. Picasa was also reporting that it was unable to connect to the internet because there was no i

  • Is it safe to send a log report to a forum 2014-07-28

    I'm about to send a Log report created by Farbar Recovery Scan Tool to a particular forum. My question is, is it then safe to do so with all the information generated within that report. Is it possible for hackers (if there should be one on that foru

  • Any Migration tool AS2 to AS3 2009-05-18

    HI All, I have a AS2 code. I want to change AS3. Any Migration tool AS2 to AS3. Please help me. thanks WIth regards Viswa --------------Solutions------------- http://www.electrotank.com/junk/jobe/AS2_to_AS3.zip Instructions and everything inside. Thi

  • Converting Oracle Forms to Apex - Is it worth considering the Apex Forms migration tool? 2009-11-12

    Friends, I am looking at migrating a Oracle Forms (10g) application to APEX (3.2.1) and looking at options that would enable me to get to a stage where I can obtain a "first cut" of the Oracle Form within APEX. Having got to grips with the Forms migr

  • How the schema migration tools work? 2010-01-12

    I have db based application and I delete the schema & db content every time whenever there is any changes in the schema. Now it is in development mode. Soon we release the application in production. But we suspect there could be many changes afte

  • Why doesn't MySQL include a decent migration tool anymore? 2010-06-30

    MySQL used to have a Migration Toolkit, to make it easier to import from SQL Server and get started with MySQL as a production platform. That has been discontinued as a product. We were promised that an equivalent product would be added to the newer

  • Open source data migration tool 2010-08-16

    My requirement is to migrate data from MySQL to PostgreSQL. Is there any free data migration tool which could do this effectively? I have some huge data in MySQL which I need to convert to a PostgreSQL database. Henceforth I am looking for a data mig

  • Android sqlite log reports and db.close() 2011-01-11

    The log reports that the database or cursor was not closed. I basically have an activity with a custom surfaceview and uses a handler to report back to the activity. When I receive the msg I show an alertdialog and also update the database. private H

  • EJB 2.x to 3.x automatic migration tool 2011-01-27

    Could someone recommend me an automatic migration tool for EJB? Preferably some Eclipse plugin... Thanx! --------------Solutions------------- Four years ago I wrote some tooling in perl. But from todays perspective I think going through the sources i

  • Running multiple mysql statements in one transaction in Mybatis migration tool 2011-03-21

    I'm using the Mybatis migration tool to maintain the schema to our database but I'm having the following problem. Currently, if we use multiple statements in a migration they are each run in a separate transaction. So if I want to alter 2 tables (or

  • create table daily to store the log reports in Database 2011-04-01

    Our project, we are tracking the log reports for each day, now we are writing data to a files which has all the records we are now storing the data to database, My Question is we are planned to create table daily to store the log reports. Is this a c

  • SQL migration tool to use with DVCS 2011-05-18

    Most (if not all) of existing migration tools think that migration history is linear. So when you create new migration, you get version 42 or whatever, and then everybody can update to this version after receiving your changes. The problem is that if

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.124 (s). 11 q(s)