Not able to run sonar maven plugin with verbose or debug level

SonarQube version: 8.9.1 community

I am trying to run sonar:sonar -Dsonar.login=admin -Dsonar.password=admin123 -Dverbose=true
but not able to get any debug lines.

My job is failing with

[INFO] Sensor CSS Rules [cssfamily]
[ERROR] CSS rules were not executed. Failed to start server (60s timeout)
org.sonarsource.nodejs.NodeCommandException: Failed to start server (60s timeout)
at org.sonar.css.plugin.server.CssAnalyzerBridgeServer.startServer(

Please help

1 Like


Welcome to the community!

Per the docs, you need to have Node.js installed on your analysis machine.

Regarding logging, I think you’re looking for -Dsonar.verbose=true.


After a lot of searching I figured if you need to use -X parameter for maven so that debug logs are visible.


@Mrinal_Nath Any idea on how to enable the trace level? with -Dsonar.log.level=TRACE maven swallows those messages

@ganncamp The docs refer only to the parameter for the log level. Maybe they should include that the -X switch is necessary when scanning using maven?

Hi @oliver,

-X is build-system-specific. We don’t document that because we assume folks will master their own build systems.