[MSbuild SonarQube Runner] use debug log for sonar runner

569 views
Skip to first unread message

Jorge Costa

unread,
Nov 14, 2015, 3:33:04 PM11/14/15
to SonarQube
hi,

how can i increase the verbosity for the sonar-runner part. in log we have 

MSBuild SonarQube Runner Post-processor 1.0.2.0
00:16:17.871  sonar.verbose=true was specified - setting the log verbosity to 'Debug'

however what is passed to runner is:
Setting environment variable 'SONAR_RUNNER_OPTS'. Value: -Xmx1024m
Executing file D:\prod\abc\.sonarqube\bin\sonar-runner\bin\sonar-runner.bat
  Args: -Dproject.settings="D:\prod\abcsonarqube\out\sonar-project.properties" -e 
  Working directory: D:\prod\abc

how to make it run with -X?

br,
jorge costa

ganesanr...@gmail.com

unread,
Dec 8, 2015, 4:47:56 PM12/8/15
to SonarQube
Including /d:sonar.log.level=DEBUG parameter to runner works.
MSBuild.SonarQube.Runner.exe begin /k:"prj:codequalitysample" /n:"Code Quality Sample" /v:"1.0" /d:sonar.resharper.cs.reportPath="%CD%\ResharperInspectionResults.xml" /d:sonar.resharper.solutionFile="%CD%\CodeQualitySample.sln" /d:sonar.analysis.mode=preview /d:sonar.issuesReport.html.enable=true /d:sonar.log.level=DEBUG > run-sonar.log 2>&1
Reply all
Reply to author
Forward
0 new messages