-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdropwizard-basic.yml
More file actions
24 lines (23 loc) · 832 Bytes
/
dropwizard-basic.yml
File metadata and controls
24 lines (23 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
appenders:
- type: file
threshold: DEBUG
archive: true
timeZone: IST
logFormat: "%highlight(%-5level) [%X{sessionId}] [%date] [%thread] [%cyan(%logger{0})]: %message%n"
currentLogFilename: /var/log/dropwizard-basic/dropwizard-basic.log
archivedLogFilenamePattern: /var/log/dropwizard-basic/dropwizard-basic-%d{yyyy-MM-dd}.log.gz
archivedFileCount: 30
applicationDatabase:
# the name of your JDBC driver
driverClass: com.mysql.jdbc.Driver
# the username
user: root
password:
# the JDBC URL
url: jdbc:mysql://localhost:3306/dropwizard-basic
properties:
hibernate.dialect: org.hibernate.dialect.MySQLDialect
hibernate.show_sql: true