aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/resources/logback.xml
blob: c64f28abec76c4025db2e91f7354cfab27b939b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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 scan="false">
  <import class="ch.qos.logback.core.ConsoleAppender"/>

  <appender name="STDOUT" class="ConsoleAppender">
    <encoder class="org.sonar.scanner.bootstrap.ScannerLogbackEncoder"/>
  </appender>

  <root level="info">
    <appender-ref ref="STDOUT"/>
  </root>

  <!-- BeanUtils generate too many DEBUG logs when sonar.verbose is set -->
  <logger name="org.apache.commons.beanutils.converters" level="WARN"/>

  <!-- FileSnapshot generate too many DEBUG logs when sonar.verbose is set -->
  <logger name="org.eclipse.jgit.internal.storage.file" level="INFO"/>

  <!-- Spring generates too many DEBUG logs when sonar.verbose is set -->
  <logger name="org.springframework" level="INFO"/>

  <!-- AbstractApplicationContext generate too verbose warning if warn is Enabled -->
  <logger name="org.springframework.context.annotation.AnnotationConfigApplicationContext" level="ERROR"/>

  <logger name="org.sonar.core.platform.PriorityBeanFactory" level="INFO"/>
</configuration>