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

Colorize output #1871

Closed
axelfontaine opened this issue Dec 18, 2017 · 4 comments
Closed

Colorize output #1871

axelfontaine opened this issue Dec 18, 2017 · 4 comments

Comments

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Dec 18, 2017

To make it easy to distinguish debug, info, warning, success and error messages.

With a simple flag to disable.

@axelfontaine axelfontaine added this to the Flyway 5.1.0 milestone Dec 18, 2017
@axelfontaine axelfontaine removed this from the Flyway 5.1.0 milestone May 23, 2018
@axelfontaine axelfontaine added this to the Flyway 5.2.0 milestone May 23, 2018
@axelfontaine axelfontaine removed this from the Flyway 5.2.0 milestone Sep 20, 2018
@axelfontaine axelfontaine added this to the Flyway 6.0.0 milestone Sep 20, 2018
@alextercete alextercete self-assigned this Aug 1, 2019
@alextercete alextercete removed their assignment Aug 16, 2019
@chrascher
Copy link

@chrascher chrascher commented Oct 29, 2019

where is the switch to disable it ?
@alextercete we get a missing class exception with 6.0.0 like this:

Exception in thread "main" java.lang.NoClassDefFoundError: org/fusesource/jansi/AnsiConsole
at org.flywaydb.commandline.ColorizedConsoleLog.install(ColorizedConsoleLog.java:32)
at org.flywaydb.commandline.ConsoleLogCreator.createLogger(ConsoleLogCreator.java:45)

Loading

@flyway flyway deleted a comment from andrewlmurray Oct 30, 2019
@alextercete
Copy link
Contributor

@alextercete alextercete commented Oct 30, 2019

@chrascher We decided to drop the switch to disable it because we automatically disable it when there's no console attached (e.g. in a redirect).

I think you might be experiencing a bug -- would you mind opening a new issue with a bit more detail so that we can troubleshoot the problem?

Loading

@chrascher
Copy link

@chrascher chrascher commented Nov 6, 2019

i reviewed our situation, and there is no bug, cause the flyway installation was not correct, sorry ;-)
switch might still be a good option though

Loading

@allenatdecisiv
Copy link

@allenatdecisiv allenatdecisiv commented Jan 10, 2020

@alextercete I disagree. Please re-add the option to disable this on invocation. Your colorization doesn't play nice in my Cygwin.

Loading

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

Successfully merging a pull request may close this issue.

None yet
4 participants