Authored by 李奇

logfile folder 参数修改

... ... @@ -87,7 +87,7 @@ module.exports = {
filename: '/Data/logs/yohoblk-wap/info/info.log',
maxFiles: 1,
tailable: true,
maxSize: Math.pow(1024, 3),
maxsize: Math.pow(1024, 3),
},
errorFile: {
name: 'error',
... ... @@ -96,7 +96,7 @@ module.exports = {
handleExceptions: true,
maxFiles: 1,
tailable: true,
maxSize: Math.pow(1024, 3),
maxsize: Math.pow(1024, 3),
},
console: {
level: 'debug',
... ... @@ -168,7 +168,7 @@ if (isProduction) {
filename: '/Data/logs/yohoblk-wap/info/info.log',
maxFiles: 1,
tailable: true,
maxSize: Math.pow(1024, 3),
maxsize: Math.pow(1024, 3),
timestamp() {
return new Date().toString();
}
... ... @@ -179,7 +179,7 @@ if (isProduction) {
filename: '/Data/logs/yohoblk-wap/error/error.log',
maxFiles: 1,
tailable: true,
maxSize: Math.pow(1024, 3),
maxsize: Math.pow(1024, 3),
handleExceptions: true,
timestamp() {
return new Date().toString();
... ...