|
@@ -74,16 +74,11 @@ module.exports = { |
|
@@ -74,16 +74,11 @@ module.exports = { |
74
|
handleExceptions: true,
|
74
|
handleExceptions: true,
|
75
|
maxFiles: 7
|
75
|
maxFiles: 7
|
76
|
},
|
76
|
},
|
77
|
- udp: { // send by udp
|
|
|
78
|
- level: 'debug', // logger level
|
|
|
79
|
- host: 'influxdblog.yohoops.org', // influxdb host
|
|
|
80
|
- port: '4444' // influxdb port
|
|
|
81
|
- },
|
|
|
82
|
console: {
|
77
|
console: {
|
83
|
- close: true,
|
|
|
84
|
level: 'debug',
|
78
|
level: 'debug',
|
85
|
colorize: 'all',
|
79
|
colorize: 'all',
|
86
|
- prettyPrint: true
|
80
|
+ prettyPrint: true,
|
|
|
81
|
+ debugStdout: true
|
87
|
}
|
82
|
}
|
88
|
},
|
83
|
},
|
89
|
thirdLogin: {
|
84
|
thirdLogin: {
|
|
@@ -126,25 +121,22 @@ if (isProduction) { |
|
@@ -126,25 +121,22 @@ if (isProduction) { |
126
|
infoFile: {
|
121
|
infoFile: {
|
127
|
name: 'info',
|
122
|
name: 'info',
|
128
|
level: 'info',
|
123
|
level: 'info',
|
129
|
- filename: 'logs/info.log',
|
124
|
+ filename: '/Data/logs/yohoblk-wap/info.log',
|
130
|
maxFiles: 7
|
125
|
maxFiles: 7
|
131
|
},
|
126
|
},
|
132
|
errorFile: {
|
127
|
errorFile: {
|
133
|
name: 'error',
|
128
|
name: 'error',
|
134
|
level: 'error',
|
129
|
level: 'error',
|
135
|
- filename: 'logs/error.log',
|
130
|
+ filename: '/Data/logs/yohoblk-wap/error.log',
|
136
|
handleExceptions: true,
|
131
|
handleExceptions: true,
|
137
|
maxFiles: 7
|
132
|
maxFiles: 7
|
138
|
},
|
133
|
},
|
139
|
- udp: { // send by udp
|
|
|
140
|
- level: 'debug', // logger level
|
|
|
141
|
- host: 'influxdblog.yohoops.org', // influxdb host
|
|
|
142
|
- port: '4444' // influxdb port
|
|
|
143
|
- },
|
|
|
144
|
console: {
|
134
|
console: {
|
|
|
135
|
+ close: true,
|
145
|
level: 'info',
|
136
|
level: 'info',
|
146
|
colorize: 'all',
|
137
|
colorize: 'all',
|
147
|
- prettyPrint: true
|
138
|
+ prettyPrint: true,
|
|
|
139
|
+ debugStdout: true
|
148
|
}
|
140
|
}
|
149
|
},
|
141
|
},
|
150
|
report: {
|
142
|
report: {
|