-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
52 lines (47 loc) · 1.03 KB
/
config.yaml
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
template: Hello, %s!
name: Madhukar
# server details
server:
type: server
applicationConnectors:
- type: http
port: 8080
adminConnectors:
- type: http
port: 8081
requestLog:
timeZone: UTC
appenders:
- type: file
currentLogFilename: ./logs/requests.log
threshold: ALL
archive: true
archivedLogFilenamePattern: ./logs/requests-%d.log.gz
archivedFileCount: 5
timeZone: UTC
#logging
logging:
level: INFO
appenders:
- type: file
currentLogFilename: ./logs/application.log
threshold: ALL
archive: true
archivedLogFilenamePattern: ./logs/application-%d.log
archivedFileCount: 2
timeZone: UTC
#database
database:
driverClass: org.h2.Driver
user: sa
# password:
url: jdbc:h2:./persondb
properties:
charSet: UTF-8
maxWaitForConnection: 1s
validationQuery: "/* MyService Health Check */ SELECT 1"
minSize: 8
maxSize: 32
checkConnectionWhileIdle: false
evictionInterval: 10s
minIdleTime: 1 minute