-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.yml
31 lines (26 loc) · 904 Bytes
/
test.yml
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
30
31
# This configuration file is mapped to the ExampleConfig class.
#
# We put the logback XML config in here as an example. You also have the option
# of using the standard logback bootstrap (ie, logback.xml on classpath) and
# then put logger level overrides in here. However, you'll need the XML here
# if you want to, say, use different appenders for staging vs production vs dev.
# Also, 'loggers' yaml overrides any logger configs in the XML.
#
foo: bar
web:
port: 8081
logging:
loggers:
"com.example.app": TRACE
"com.voodoodyne.gwizard": DEBUG
xml: |
<configuration>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d %5p %40.40c:%4L - %m%n</pattern>
</encoder>
</appender>
<root level="info">
<appender-ref ref="console"/>
</root>
</configuration>