...
|
...
|
@@ -84,15 +84,19 @@ module.exports = { |
|
|
infoFile: {
|
|
|
name: 'info',
|
|
|
level: 'info',
|
|
|
filename: '/Data/logs/yohoblk-wap/info.log',
|
|
|
maxFiles: 7
|
|
|
filename: '/Data/logs/yohoblk-wap/info/info.log',
|
|
|
maxFiles: 1,
|
|
|
tailable: true,
|
|
|
maxsize: Math.pow(1024, 3),
|
|
|
},
|
|
|
errorFile: {
|
|
|
name: 'error',
|
|
|
level: 'error',
|
|
|
filename: '/Data/logs/yohoblk-wap/error.log',
|
|
|
filename: '/Data/logs/yohoblk-wap/error/error.log',
|
|
|
handleExceptions: true,
|
|
|
maxFiles: 7
|
|
|
maxFiles: 1,
|
|
|
tailable: true,
|
|
|
maxsize: Math.pow(1024, 3),
|
|
|
},
|
|
|
console: {
|
|
|
level: 'debug',
|
...
|
...
|
@@ -161,8 +165,10 @@ if (isProduction) { |
|
|
infoFile: {
|
|
|
name: 'info',
|
|
|
level: 'info',
|
|
|
filename: '/Data/logs/yohoblk-wap/info.log',
|
|
|
maxFiles: 7,
|
|
|
filename: '/Data/logs/yohoblk-wap/info/info.log',
|
|
|
maxFiles: 1,
|
|
|
tailable: true,
|
|
|
maxsize: Math.pow(1024, 3),
|
|
|
timestamp() {
|
|
|
return new Date().toString();
|
|
|
}
|
...
|
...
|
@@ -170,9 +176,11 @@ if (isProduction) { |
|
|
errorFile: {
|
|
|
name: 'error',
|
|
|
level: 'error',
|
|
|
filename: '/Data/logs/yohoblk-wap/error.log',
|
|
|
filename: '/Data/logs/yohoblk-wap/error/error.log',
|
|
|
maxFiles: 1,
|
|
|
tailable: true,
|
|
|
maxsize: Math.pow(1024, 3),
|
|
|
handleExceptions: true,
|
|
|
maxFiles: 7,
|
|
|
timestamp() {
|
|
|
return new Date().toString();
|
|
|
}
|
...
|
...
|
|