...
|
...
|
@@ -74,16 +74,11 @@ module.exports = { |
|
|
handleExceptions: true,
|
|
|
maxFiles: 7
|
|
|
},
|
|
|
udp: { // send by udp
|
|
|
level: 'debug', // logger level
|
|
|
host: 'influxdblog.yohoops.org', // influxdb host
|
|
|
port: '4444' // influxdb port
|
|
|
},
|
|
|
console: {
|
|
|
close: true,
|
|
|
level: 'debug',
|
|
|
colorize: 'all',
|
|
|
prettyPrint: true
|
|
|
prettyPrint: true,
|
|
|
debugStdout: true
|
|
|
}
|
|
|
},
|
|
|
thirdLogin: {
|
...
|
...
|
@@ -126,25 +121,22 @@ if (isProduction) { |
|
|
infoFile: {
|
|
|
name: 'info',
|
|
|
level: 'info',
|
|
|
filename: 'logs/info.log',
|
|
|
filename: '/Data/logs/yohoblk-wap/info.log',
|
|
|
maxFiles: 7
|
|
|
},
|
|
|
errorFile: {
|
|
|
name: 'error',
|
|
|
level: 'error',
|
|
|
filename: 'logs/error.log',
|
|
|
filename: '/Data/logs/yohoblk-wap/error.log',
|
|
|
handleExceptions: true,
|
|
|
maxFiles: 7
|
|
|
},
|
|
|
udp: { // send by udp
|
|
|
level: 'debug', // logger level
|
|
|
host: 'influxdblog.yohoops.org', // influxdb host
|
|
|
port: '4444' // influxdb port
|
|
|
},
|
|
|
console: {
|
|
|
close: true,
|
|
|
level: 'info',
|
|
|
colorize: 'all',
|
|
|
prettyPrint: true
|
|
|
prettyPrint: true,
|
|
|
debugStdout: true
|
|
|
}
|
|
|
},
|
|
|
report: {
|
...
|
...
|
|