-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.yml
53 lines (45 loc) · 1.31 KB
/
booking.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
database:
driverClass: org.h2.Driver
user: sa
password: sa
url: jdbc:h2:./target/booking
server:
applicationConnectors:
- type: http
port: 8080
- type: https
port: 8443
keyStorePath: booking.keystore
keyStorePassword: example
adminConnectors:
- type: http
port: 8081
- type: https
port: 8444
keyStorePath: booking.keystore
keyStorePassword: example
logging:
level: INFO
loggers:
com.booking.challenge.app: DEBUG
com.booking.challenge.resources.FlightScheduleResource: DEBUG
com.booking.challenge.db.FlightScheduleDAO: DEBUG
org.hibernate.engine.internal.StatisticalLoggingSessionEventListener: WARN
# Redirects SQL logs to a separate file
org.hibernate.SQL:
level: INFO
appenders:
- type: console
- type: file
threshold: INFO
logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
currentLogFilename: /tmp/application.log
archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}-%i.log.gz
archivedFileCount: 7
timeZone: UTC
maxFileSize: 10MiB
# the key needs to match the configuration key of the renderer (ViewRenderer::getConfigurationKey)
viewRendererConfiguration:
freemarker:
strict_syntax: yes
whitespace_stripping: yes