How to turn the debug logs on for the Sonarcube plugin? Follow

When running the plugin you need to provide the following two arguments:

-X   (for Maven to display debug messages)

-Dsonar.verbose=true   (to enable debug logging for Sonarcube)

 

Sonar has its own Logging interface (which we use), however, it does not spit out debug messages by default; this is what the  -Dsonar.verbose=true  does. 
Just because Sonar is now spitting out debug messages doesn’t mean Maven will display it; this is what the  -X  flag does.

Comments

0 comments