Repository navigation
Expand file tree
/
Copy pathdev-server.yml
More file actions
61 lines (54 loc) · 1.75 KB
/
Copy pathdev-server.yml
File metadata and controls
61 lines (54 loc) · 1.75 KB
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
54
55
56
57
58
59
60
61
server:
applicationConnectors:
- type: "http"
port: 8080
database:
driverClass: "org.h2.Driver"
url: "jdbc:h2:~/.openfixity/open-fixity"
logValidationErrors: true
ignoreExceptionOnPreLoad: true
# any properties specific to your JDBC driver:
properties:
charSet: UTF-8
hibernate.dialect: org.hibernate.dialect.H2Dialect
hibernate.hbm2ddl.delimiter: ";"
hibernate.hbm2ddl.auto: update
# jakarta.persistence.schema-generation.database.action: update
hibernate.cache.use_second_level_cache: false
hibernate.show_sql: false
hibernate.format_sql: false
hibernate.jpa.compliance: true
hibernate.jdbc.batch_size: 50
hibernate.order_inserts: true
hibernate.order_updates: true
# the maximum amount of time to wait on an empty pool before throwing an exception
maxWaitForConnection: 1s
# the SQL query to run when validating a connection's liveness
validationQuery: "/* MyApplication Health Check */ SELECT 1"
# the minimum number of connections to keep open
minSize: 4
# the maximum number of connections to keep open
maxSize: 12
# whether or not idle connections should be validated
checkConnectionWhileIdle: false
logging:
level: "INFO"
loggers:
"org.openpreservation":
level: "DEBUG"
additive: false
appenders:
- type: "file"
currentLogFilename: "./log/open-fixity.log"
threshold: "ALL"
queueSize: 512
discardingThreshold: 0
archive: true
archivedLogFilenamePattern: "./log/open-fixity-%d.log"
archivedFileCount: 20
timeZone: "CET"
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %m%n%rEx"
bufferSize: "8KiB"
immediateFlush: true
appenders:
- type: "console"