Authored by 陈峰

Merge branch 'feature/docker' into 'gray'

logger time



See merge request !82
... ... @@ -161,14 +161,20 @@ if (isProduction) {
name: 'info',
level: 'info',
filename: '/Data/logs/yohoblk-wap/info.log',
maxFiles: 7
maxFiles: 7,
timestamp() {
return new Date().toString();
}
},
errorFile: {
name: 'error',
level: 'error',
filename: '/Data/logs/yohoblk-wap/error.log',
handleExceptions: true,
maxFiles: 7
maxFiles: 7,
timestamp() {
return new Date().toString();
}
},
console: {
close: true,
... ...