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

Can't modify logging level in liquibase-maven-plugin #2113

Closed
giacgbj opened this issue Sep 22, 2021 · 2 comments
Closed

Can't modify logging level in liquibase-maven-plugin #2113

giacgbj opened this issue Sep 22, 2021 · 2 comments

Comments

@giacgbj
Copy link

giacgbj commented Sep 22, 2021

Environment

Liquibase Version: 4.4.3

Liquibase Integration & Version: Maven

Description

Can't change logging level using liquibase-maven-plugin.

How "logging" property is supposed to work when this line is commented out?

Steps To Reproduce

Set the plugin like this:

<plugin>
    
   <groupId>org.liquibase</groupId>
    
   <artifactId>liquibase-maven-plugin</artifactId>
   
   <configuration>
        
     <logging>WARNING</logging>

   </configuration>
...
</plugin>

Run whatever command you want and you'll still see "[INFO] ..." logs.

Actual Behavior

Can't change log level.

Expected/Desired Behavior

Log level changeable using the aforementioned property.

@molivasdat
Copy link
Contributor

Hi @giacgbj Thanks for bringing this issue to our attention. We will add this to the list of issues that we are processing.

@nvoxland
Copy link
Contributor

nvoxland commented Dec 9, 2021

With 4.0 we switch the maven plugin to respect the standard maven logging logic vs. something custom of our own. So you can use the -q, -X or -e flags or the setup in https://maven.apache.org/maven-logging.html

But, I created #2261 to better tell people that are using the logging configuration that it is now deprecated.

@nvoxland nvoxland closed this as completed Dec 9, 2021
Conditioning++ automation moved this from To Do to Done Dec 9, 2021
@nvoxland nvoxland removed this from Done in Conditioning++ Dec 9, 2021
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