Liquibase Community Forum
2011-01-12 15:04:08 UTC
A new topic, 'Configure liquibase log destination?', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=924.new#new
The text of the topic is shown below:
I am using liquibase 1.9.5 started via LiquibaseServletListener in a JBoss 5 server.
liquibase seems to write all log messages to System.err. The problem is that JBoss captures all output to System.err and writes it as ERROR messages in it's log file. Therefore, even the log output from a successfull liquibase run appear as errors.
Is there a way to configure the destination liquibase logs to to prevent these ERROR messages?
Thanks in advance for any feedback!
2011-01-12 14:24:08,160 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.database.template.JdbcTemplate comment
INFO: Lock Database
2011-01-12 14:24:08,181 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.lock.LockHandler acquireLock
INFO: Successfully acquired change log lock
2011-01-12 14:24:08,242 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.database.AbstractDatabase getRanChangeSetList
INFO: Reading from `DATABASECHANGELOG`
2011-01-12 14:24:08,260 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.database.template.JdbcTemplate comment
INFO: Release Database Lock
2011-01-12 14:24:08,263 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.lock.LockHandler releaseLock
INFO: Successfully released change log lock
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=924.new#new
The text of the topic is shown below:
I am using liquibase 1.9.5 started via LiquibaseServletListener in a JBoss 5 server.
liquibase seems to write all log messages to System.err. The problem is that JBoss captures all output to System.err and writes it as ERROR messages in it's log file. Therefore, even the log output from a successfull liquibase run appear as errors.
Is there a way to configure the destination liquibase logs to to prevent these ERROR messages?
Thanks in advance for any feedback!
2011-01-12 14:24:08,160 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.database.template.JdbcTemplate comment
INFO: Lock Database
2011-01-12 14:24:08,181 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.lock.LockHandler acquireLock
INFO: Successfully acquired change log lock
2011-01-12 14:24:08,242 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.database.AbstractDatabase getRanChangeSetList
INFO: Reading from `DATABASECHANGELOG`
2011-01-12 14:24:08,260 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.database.template.JdbcTemplate comment
INFO: Release Database Lock
2011-01-12 14:24:08,263 ERROR [STDERR] (main:) 12.01.2011 14:24:08 liquibase.lock.LockHandler releaseLock
INFO: Successfully released change log lock
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.