markgardner / node-flywaydb

NodeJs wrapper for flywaydb cli
Apache License 2.0
60 stars 26 forks source link

Add ability to turn on slf4j logging #5

Closed RyanBard closed 5 years ago

RyanBard commented 7 years ago

After having lots of trouble getting flyway to work with heroku's postgres plugin, I decided I needed to be able to tweak flyway's slf4j logging to figure out what is going on.

This PR adds that capability to your wrapper.

I decided to just pick one slf4j implementation instead of making the config more complex and allowing people to pick whatever slf4j implementation they wanted. I chose the jdk logger (instead of log4j, jcl, simple, etc.) because it was small and self contained.

markgardner commented 5 years ago

just pushed v2 that should support this.