-
Notifications
You must be signed in to change notification settings - Fork 12
/
test.yml
39 lines (33 loc) · 1.06 KB
/
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
32
33
34
35
36
37
38
39
# 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
database:
driverClass: org.h2.Driver
user: sa
url: jdbc:h2:mem:test
properties:
hibernate.dialect: org.hibernate.dialect.H2Dialect
hibernate.hbm2ddl.auto: create
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>