diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-04-10 16:01:48 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-04-15 20:02:44 +0000 |
commit | 4b060fef8076c324bc0c0cfe4f64804753c91e29 (patch) | |
tree | f02d1dcae8de61b40fbf4b9431c737110c12c1dc /sonar-scanner-engine/src/main/resources/logback.xml | |
parent | 60fee355ef174e184b5c3a477a3c81e95302c754 (diff) | |
download | sonarqube-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.xml | 16 |
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 |