Skip to content
Liquibase SLF4J Logger.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Updating copyrights. Aug 2, 2015
.editorconfig
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
build-publish.xml
build.properties Update README with release notes. Update version for 2.0.0. Dec 17, 2015
build.xml
ivy.xml
ivysettings-ant.xml
ivysettings-publish.xml
ivysettings.xml
pom-template.xml

README.md

liquibase-slf4j

Version 2.0.0
Written by Matt Bertolini

Maven Central Build Status

How to Use

Grab the library from Maven Central and place it in your classpath.

Maven:

<dependency>
    <groupId>com.mattbertolini</groupId>
    <artifactId>liquibase-slf4j</artifactId>
    <version>2.0.0</version>
</dependency>

Gradle:

runtime group: 'com.mattbertolini', name: 'liquibase-slf4j', version: '2.0.0'

Ivy

<dependency org="com.mattbertolini" name="liquibase-slf4j" rev="2.0.0"/>

License

liquibase-slf4j is licensed under the MIT License

Notes

This logger has a priority number of 5. If there is more than one Liquibase logger on the classpath the one with the highest priority will be used.

Liquibase version 3.4.0 had an issue loading third party loggers in some situations. This logger may not work on that version. It is recommended that you upgrade to Liquibase 3.4.1 which addresses this issue.

Log Level Mappings

Liquibase Level SLF4J Level
Debug Debug
Info Info
Warning Warn
Severe Error

Build and Test

Requirements

  • Apache Ant - Version 1.8 or higher.
  • JDK 6 or higher (Compiled with 1.6 source and target).

Build

To build this project, clone the repo and run the ant command:

$ git clone https://github.com/mattbertolini/liquibase-slf4j.git
$ cd liquibase-slf4j
$ ant

The distributable jar files will be located in the dist folder. The build reports (unit test, dependency, coverage, etc.) will be located in the build/reports dir.

To run the unit tests run the run-unit-tests task.

$ ant run-unit-tests

Bugs

Please report any bugs in the issue tracker above. Please be as detailed as possible in your report so I can create unit tests to verify the problem is fixed.

Release Notes

2.0.0 - 2015-12-16

  • Switched the dependency scope of SLF4J and Liquibase to provided. This is because most users are already including their own versions of these libraries and the versions are often much newer than what is defined in this library. By marking them as provided it helps prevent version conflicts and extra exclusions in project files. For an example of this, check out the POM file from Dropwizard
  • The minimum required Liquibase version is now 3.2.0. This is done to take advantage of updates to AbstractLogger.

1.2.1 - 2013-10-12

  • Only printing the changeLogName and changeSetName if they are provided. This gets rid of the annoying nulls printed in logs.

1.2.0 - 2013-09-30

  • Upgrading to Liquibase version 3.0.5 to add new required methods.

1.1.0 - 2013-08-10

  • Upgrade Liquibase version to 3.0.x.
  • Backward-compatible with previous version.

1.0.0 - 2012-04-04

  • Initial release.
  • Supports Liquibase 2.0.x.
You can’t perform that action at this time.