Authored by 陈峰

Merge branch 'feature/docker' into 'gray'

logger time



See merge request !91
... ... @@ -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,
... ...