Authored by 周奇琪

修改配置:日志最多保留7天的日志,udp的发送到域名而非ip

... ... @@ -32,7 +32,8 @@ module.exports = {
infoFile: {
name: 'info',
level: 'info',
filename: 'logs/info.log'
filename: 'logs/info.log',
maxFiles: 7
},
errorFile: {
name: 'error',
... ... @@ -42,7 +43,7 @@ module.exports = {
},
udp: { // send by udp
level: 'debug', // logger level
host: '192.168.102.162', // influxdb host
host: 'influxdb.yohoops.org', // influxdb host
port: '4444' // influxdb port
},
console: {
... ...