Add logging config for dropwizard 0.7.0-rc3.
This commit is contained in:
parent
323f5e43ff
commit
359bc9408e
|
@ -71,4 +71,24 @@ logging:
|
|||
com.example.app: DEBUG
|
||||
|
||||
appenders:
|
||||
- type: console
|
||||
- type: console
|
||||
threshold: ALL
|
||||
timeZone: UTC
|
||||
target: stdout
|
||||
logFormat: # TODO
|
||||
|
||||
- type: file
|
||||
currentLogFilename: ./log/mon-api.log
|
||||
threshold: ALL
|
||||
archive: true
|
||||
archivedLogFilenamePattern: ./log/mon-api-%d.log
|
||||
archivedFileCount: 5
|
||||
timeZone: UTC
|
||||
logFormat: # TODO
|
||||
|
||||
- type: syslog
|
||||
host: localhost
|
||||
port: 514
|
||||
facility: local0
|
||||
threshold: ALL
|
||||
logFormat: # TODO
|
Loading…
Reference in New Issue