aboutsummaryrefslogtreecommitdiff
path: root/wordcount/resources/log4j2.xml
blob: d2b298192fd4107889165fc8e33ca1fcb7732320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<!-- See http://logging.apache.org/log4j/2.x/manual/configuration.html 
     for more information on Log4j configuration. -->
<Configuration>
  <Appenders>
    <Console name="STDOUT" target="SYSTEM_OUT">
      <PatternLayout pattern="%d{HH:mm:ss} [%t] %-5level %logger{36} - %msg%n"/>
    </Console>
  </Appenders>
  <Loggers>
    <Logger name="com.microsoft.example" level="trace" additivity="false">
      <AppenderRef ref="STDOUT"/>
    </Logger>
    <Root level="error">
      <Appender-Ref ref="STDOUT"/>
    </Root>
  </Loggers>
</Configuration>