...
|
...
|
@@ -23,14 +23,20 @@ const config = { |
|
|
name: 'info',
|
|
|
level: 'info',
|
|
|
filename: '/Data/logs/yoho-shop-manage/info.log',
|
|
|
maxFiles: 7
|
|
|
maxFiles: 7,
|
|
|
timestamp() {
|
|
|
return new Date().toString();
|
|
|
}
|
|
|
},
|
|
|
errorFile: {
|
|
|
name: 'error',
|
|
|
level: 'error',
|
|
|
filename: '/Data/logs/yoho-shop-manage/error.log',
|
|
|
handleExceptions: true,
|
|
|
maxFiles: 7
|
|
|
maxFiles: 7,
|
|
|
timestamp() {
|
|
|
return new Date().toString();
|
|
|
}
|
|
|
},
|
|
|
console: {
|
|
|
close: true,
|
...
|
...
|
|