0
我已經在我的配置文件中使用了以下內容,仍然在access.log中獲得標準服務器日誌,有沒有辦法修改它? Dropwizard版本0.7有沒有一種方法來logformat Dropwizard access.log
server:
adminConnectors:
-
port: 8889
type: http
applicationConnectors:
-
acceptorThreads: 7
port: 8888
selectorThreads: 14
type: http
maxQueuedRequests: 1024
maxThreads: 1024
requestLog:
appenders:
-
archive: true
archivedFileCount: 3
archivedLogFilenamePattern: /var/log/access-%i.log
currentLogFilename: /var/log/access.log
logFormat: '[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level]'
maxFileSize: 200MB
threshold: ALL
timeZone: IST
type: file-size-rolled
timeZone: IST