32 lines
732 B
YAML
32 lines
732 B
YAML
|
path: "./tmp/"
|
|||
|
|
|||
|
transfer:
|
|||
|
proto: "mqtt"
|
|||
|
address: "127.0.0.1"
|
|||
|
port: 6060
|
|||
|
|
|||
|
log:
|
|||
|
# 日志级别:debug/info/error/warn
|
|||
|
level: debug # debug | info | warn | error
|
|||
|
path : "./logs"
|
|||
|
# 日志文件前缀
|
|||
|
prefix : "hpds_mq"
|
|||
|
# 是否为开发者模式
|
|||
|
development : true
|
|||
|
# debug日志文件后缀
|
|||
|
debugFileSuffix : "debug.log"
|
|||
|
# warn日志文件后缀
|
|||
|
warnFileSuffix : "warn.log"
|
|||
|
# error日志文件后缀
|
|||
|
errorFileSuffix : "error.log"
|
|||
|
# info日志文件后缀
|
|||
|
infoFileSuffix : "info.log"
|
|||
|
# 保存的最大天数
|
|||
|
maxAge : 180
|
|||
|
# 最多存在多少个切片文件
|
|||
|
maxBackups : 3000
|
|||
|
# 日日志文件大小(M)
|
|||
|
maxSize : 100
|
|||
|
# whether to dump MQTT packet in debug level
|
|||
|
dump_packet: false
|