Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command-line: -q switch for quiet mode #915

Closed
plentz opened this issue Jan 3, 2015 · 3 comments
Closed

Command-line: -q switch for quiet mode #915

plentz opened this issue Jan 3, 2015 · 3 comments

Comments

@plentz
Copy link

plentz commented Jan 3, 2015

please add an option to be less verbose. instead of:

Flyway (Command-line Tool) v.3.1

Database: jdbc:mysql://foo.com:1433/ (MySQL 5.6)
Validated 8 migrations (execution time 00:00.028s)
Current version of schema `bar`: 7
Schema `bar` is up to date. No migration necessary.

maybe outputting only if something goes wrong. it could be very useful mainly if you run a lot of migrations in batch

@axelfontaine
Copy link
Contributor

Yes, this makes sense.

Since we already have
-X to set the log level to DEBUG

this would now add
-q to set the log level to WARN

Pull request welcome.

@sanjayd
Copy link
Contributor

sanjayd commented Jan 8, 2015

Created PR #920 - if that looks good, I can create a corresponding PR for flywaydb.org

@axelfontaine axelfontaine changed the title [command line] --quiet -q Command-line: -q switch for quiet mode Jan 10, 2015
axelfontaine pushed a commit to flyway/flywaydb.org that referenced this issue Jan 10, 2015
@plentz
Copy link
Author

plentz commented Jan 10, 2015

you guys rock :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants