Hello, Victor
Do you have any guide to extract those logs?
In the meantime,please use this snippet. This should work:
File: “src/app/regression.mjs”
const aNumber = 1;
await methodName(aNumber);
/**
* This is a method
* @param {number} param1name this is a parameter
* @async
* @returns {string[]} List....
*/
async function methodName(param1name) {
return [param1name];
}
Logs from Sonarqube for IDE
2026-01-09 08:29:54.656 [info] [Info - 08:29:54.654] [sonarlint : sonarlint-analysis-scheduler] Starting analysis with configuration: [
baseDir: c:\<redacted project path>
extraProperties: {sonar.cfamily.compile-commands=, sonar.js.internal.bundlePath=c:\Users\<redacted user>\.vscode\extensions\sonarsource.sonarlint-vscode-4.39.0-win32-x64\eslint-bridge}
activeRules: [13 kubernetes, 268 python, 430 cpp, 27 css, 189 c, 22 go, 264 ipython, 30 secrets, 331 javascript, 15 docker, 501 java, 50 Web, 15 xml, 299 csharpsquid, 167 php, 7 terraform, 344 typescript, 18 azureresourcemanager, 7 cloudformation]
inputFiles: [
file:///c:/<redacted project path>/src/app/regression.mjs (UTF-8) [js]
]
]
2026-01-09 08:29:54.834 [info] [Info - 08:29:54.833] [sonarlint : sonarlint-analysis-scheduler] Index files
2026-01-09 08:29:54.835 [info] [Info - 08:29:54.833] [sonarlint : Report about progress of file indexation] 1 file indexed
2026-01-09 08:29:54.928 [info] [Info - 08:29:54.927] [org.reflections.Reflections : sonarlint-analysis-scheduler] Reflections took 18 ms to scan 1 urls, producing 24 keys and 257 values
2026-01-09 08:29:54.944 [info] [Info - 08:29:54.942] [org.sonar.iac.common.extension.IacSensor : sonarlint-analysis-scheduler] There are no files to be analyzed for the Java language
2026-01-09 08:29:54.944 [info] [Info - 08:29:54.943] [org.sonar.iac.common.extension.IacSensor : sonarlint-analysis-scheduler] There are no files to be analyzed for the Docker language
2026-01-09 08:29:54.945 [info] [Warn - 08:29:54.943] [sonarlint : sonarlint-analysis-scheduler] No workDir in SonarLint
2026-01-09 08:29:55.230 [info] [Info - 08:29:55.229] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] Using generated tsconfig.json file C:\Users\<redacted>\AppData\Local\Temp\tsconfig-0SUJX5.json
2026-01-09 08:29:59.390 [info] [Info - 08:29:59.388] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] Found 1 tsconfig.json file(s): [C:\Users\<redacted>\AppData\Local\Temp\tsconfig-0SUJX5.json]
2026-01-09 08:29:59.391 [info] [Info - 08:29:59.389] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] 1 source file to be analyzed
2026-01-09 08:29:59.391 [info] [Info - 08:29:59.389] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] Using tsConfig C:\Users\<redacted>\AppData\Local\Temp\tsconfig-0SUJX5.json for file source file c:/<redacted project path>/src/app/regression.mjs (0/1 tsconfigs not yet checked)
2026-01-09 08:29:59.391 [info] [Info - 08:29:59.389] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] 1/1 source file has been analyzed
2026-01-09 08:29:59.394 [info] [Info - 08:29:59.392] [org.sonar.plugins.javascript.analysis.cache.CacheReporter : sonarlint-analysis-scheduler] Hit the cache for 0 out of 1
2026-01-09 08:29:59.394 [info] [Info - 08:29:59.392] [org.sonar.plugins.javascript.analysis.cache.CacheReporter : sonarlint-analysis-scheduler] Miss the cache for 1 out of 1: RUNTIME_API_INCOMPATIBLE [1/1]
2026-01-09 08:29:59.405 [info] [Info - 08:29:59.401] [sonarlint : sonarlint-analysis-scheduler] Starting analysis with configuration: [
baseDir: c:\<redacted project path>
extraProperties: {sonar.cfamily.compile-commands=, sonar.js.internal.bundlePath=c:\Users\<redacted user>\.vscode\extensions\sonarsource.sonarlint-vscode-4.39.0-win32-x64\eslint-bridge}
activeRules: [13 kubernetes, 268 python, 430 cpp, 27 css, 189 c, 22 go, 264 ipython, 30 secrets, 331 javascript, 15 docker, 501 java, 50 Web, 15 xml, 299 csharpsquid, 167 php, 7 terraform, 344 typescript, 18 azureresourcemanager, 7 cloudformation]
inputFiles: [
file:///c:/<redacted project path>/src/app/regression.mjs (UTF-8) [js]
]
]
2026-01-09 08:29:59.554 [info] [Info - 08:29:59.553] [sonarlint : sonarlint-analysis-scheduler] Index files
2026-01-09 08:29:59.555 [info] [Info - 08:29:59.553] [sonarlint : Report about progress of file indexation] 1 file indexed
2026-01-09 08:29:59.637 [info] [Info - 08:29:59.635] [org.reflections.Reflections : sonarlint-analysis-scheduler] Reflections took 20 ms to scan 1 urls, producing 24 keys and 257 values
2026-01-09 08:29:59.646 [info] [Info - 08:29:59.645] [org.sonar.iac.common.extension.IacSensor : sonarlint-analysis-scheduler] There are no files to be analyzed for the Java language
2026-01-09 08:29:59.646 [info] [Info - 08:29:59.645] [org.sonar.iac.common.extension.IacSensor : sonarlint-analysis-scheduler] There are no files to be analyzed for the Docker language
2026-01-09 08:29:59.647 [info] [Warn - 08:29:59.645] [sonarlint : sonarlint-analysis-scheduler] No workDir in SonarLint
2026-01-09 08:29:59.796 [info] [Info - 08:29:59.794] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] Using generated tsconfig.json file C:\Users\<redacted>\AppData\Local\Temp\tsconfig-cJiI4p.json
2026-01-09 08:30:03.058 [info] [Info - 08:30:03.057] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] Found 1 tsconfig.json file(s): [C:\Users\<redacted>\AppData\Local\Temp\tsconfig-cJiI4p.json]
2026-01-09 08:30:03.059 [info] [Info - 08:30:03.057] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] 1 source file to be analyzed
2026-01-09 08:30:03.059 [info] [Info - 08:30:03.057] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] Using tsConfig C:\Users\<redacted>\AppData\Local\Temp\tsconfig-cJiI4p.json for file source file c:/<redacted project path>/src/app/regression.mjs (0/1 tsconfigs not yet checked)
2026-01-09 08:30:03.059 [info] [Info - 08:30:03.057] [org.sonar.plugins.javascript.bridge.BridgeServerImpl : nodejs-stream-consumer] 1/1 source file has been analyzed
2026-01-09 08:30:03.060 [info] [Info - 08:30:03.058] [org.sonar.plugins.javascript.analysis.cache.CacheReporter : sonarlint-analysis-scheduler] Hit the cache for 0 out of 1
2026-01-09 08:30:03.064 [info] [Info - 08:30:03.060] [org.sonar.plugins.javascript.analysis.cache.CacheReporter : sonarlint-analysis-scheduler] Miss the cache for 1 out of 1: RUNTIME_API_INCOMPATIBLE [1/1]
2026-01-09 08:30:03.064 [info] [Info - 08:30:03.060] [org.sonar.plugins.javascript.analysis.CssRuleSensor : sonarlint-analysis-scheduler] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
2026-01-09 08:30:03.067 [info] [Info - 08:30:03.066] [org.sonar.plugins.common.TextAndSecretsSensor : sonarlint-analysis-scheduler] Available processors: 8
2026-01-09 08:30:03.067 [info] [Info - 08:30:03.066] [org.sonar.plugins.common.TextAndSecretsSensor : sonarlint-analysis-scheduler] Using 8 threads for analysis.
2026-01-09 08:30:03.068 [info] [Info - 08:30:03.066] [org.sonar.plugins.common.TextAndSecretsSensor : sonarlint-analysis-scheduler] Start fetching files for the text and secrets analysis
2026-01-09 08:30:03.068 [info] [Info - 08:30:03.066] [org.sonar.plugins.common.TextAndSecretsSensor : sonarlint-analysis-scheduler] Retrieving all except binary files
2026-01-09 08:30:03.069 [info] [Info - 08:30:03.066] [org.sonar.plugins.common.analyzer.Analyzer : sonarlint-analysis-scheduler] Starting the text and secrets analysis
2026-01-09 08:30:03.074 [info] [Info - 08:30:03.070] [org.sonar.plugins.common.MultiFileProgressReport : Progress of the text and secrets analysis] 1 source file to be analyzed for the text and secrets analysis
2026-01-09 08:30:03.078 [info] [Info - 08:30:03.076] [org.sonar.plugins.common.MultiFileProgressReport : Progress of the text and secrets analysis] 1/1 source file has been analyzed for the text and secrets analysis
2026-01-09 08:30:03.079 [info] [Info - 08:30:03.078] [sonarlint : sonarlint-analysis-scheduler] Analysis detected 1 issue and 0 Security Hotspots in 3677ms
Attaching screenshots from Sonarqube for IDE on VSCode in connected mode (it also appears on Server)
-
Code
-
Warning
