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

Display output depending on a settings #8

Closed
astik opened this issue Mar 11, 2015 · 0 comments
Closed

Display output depending on a settings #8

astik opened this issue Mar 11, 2015 · 0 comments

Comments

@astik
Copy link
Contributor

astik commented Mar 11, 2015

It would be very useful to have Ansible output processed on maven output to monitor what happens during the process.
Right now the output is available with the "--debug" maven flag which turns the whole maven into debug mode, too much verbosity, I'd like only Ansible to be verbose =)

In AbstractAnsibleMojo.java, there is this line of code

getLog().debug(outputLine);

Could it be possible to change verbosity depending on a plugin settings, for example ansible.promoteDebugAsInfo ?
In that case, code could be :

if (promoteDebugAsInfo) {
    getLog().info(outputLine);
} else {
    getLog().debug(outputLine);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant