aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/resources/logback.xml
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-04-10 16:01:48 +0200
committersonartech <sonartech@sonarsource.com>2024-04-15 20:02:44 +0000
commit4b060fef8076c324bc0c0cfe4f64804753c91e29 (patch)
treef02d1dcae8de61b40fbf4b9431c737110c12c1dc /sonar-scanner-engine/src/main/resources/logback.xml
parent60fee355ef174e184b5c3a477a3c81e95302c754 (diff)
downloadsonarqube-4b060fef8076c324bc0c0cfe4f64804753c91e29.tar.gz
sonarqube-4b060fef8076c324bc0c0cfe4f64804753c91e29.zip
SONAR-22036 Add a main to the scanner engine
Diffstat (limited to 'sonar-scanner-engine/src/main/resources/logback.xml')
-rw-r--r--sonar-scanner-engine/src/main/resources/logback.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/main/resources/logback.xml b/sonar-scanner-engine/src/main/resources/logback.xml
new file mode 100644
index 00000000000..4080ae54558
--- /dev/null
+++ b/sonar-scanner-engine/src/main/resources/logback.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE configuration>
+<!-- This logback configuration is used when the scanner engine is bootstrapped using the SonarScannerCli class. -->
+
+<configuration>
+ <import class="ch.qos.logback.core.ConsoleAppender"/>
+ <include resource="logback-shared.xml"/>
+
+ <appender name="STDOUT" class="ConsoleAppender">
+ <encoder class="org.sonar.scanner.bootstrap.ScannerLogbackEncoder"/>
+ </appender>
+
+ <root level="info">
+ <appender-ref ref="STDOUT"/>
+ </root>
+</configuration> \ No newline at end of file