Authored by 陈峰

Merge branch 'feature/logfie-name' into 'master'

Feature/logfie name



See merge request !257
... ... @@ -88,8 +88,10 @@ module.exports = {
infoFile: {
name: 'info',
level: 'info',
filename: '/Data/logs/yohobuy-node/info.log',
maxFiles: 14,
filename: '/Data/logs/yohobuy-node/info/info.log',
maxFiles: 1,
tailable: true,
maxsize: Math.pow(1024, 3),
timestamp() {
return new Date().toString();
}
... ... @@ -97,9 +99,11 @@ module.exports = {
errorFile: {
name: 'error',
level: 'error',
filename: '/Data/logs/yohobuy-node/error.log',
filename: '/Data/logs/yohobuy-node/error/error.log',
maxFiles: 1,
tailable: true,
maxsize: Math.pow(1024, 3),
handleExceptions: true,
maxFiles: 7,
timestamp() {
return new Date().toString();
}
... ...
... ... @@ -57,7 +57,7 @@
"urlencode": "^1.1.0",
"uuid": "^2.0.2",
"yoho-express-session": "^2.0.0",
"yoho-node-lib": "=0.6.8",
"yoho-node-lib": "=0.6.10",
"yoho-zookeeper": "^1.0.8"
},
"devDependencies": {
... ...
... ... @@ -8441,12 +8441,6 @@ window-size@^0.1.4:
version "0.1.4"
resolved "http://npm.yohops.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876"
winston-daily-rotate-file@^1.1.1:
version "1.7.2"
resolved "http://npm.yohops.com/winston-daily-rotate-file/-/winston-daily-rotate-file-1.7.2.tgz#6502bfa297824fd982da5e5647c7538578d2f9a0"
dependencies:
mkdirp "0.5.1"
winston@^2.3.1, winston@^2.4.0:
version "2.4.1"
resolved "http://npm.yohops.com/winston/-/winston-2.4.1.tgz#a3a9265105564263c6785b4583b8c8aca26fded6"
... ... @@ -8670,9 +8664,9 @@ yoho-jquery@^1.12.4:
version "1.12.4"
resolved "http://npm.yohops.com/yoho-jquery/-/yoho-jquery-1.12.4.tgz#22499b325f293ee8b1d60559777348156494926d"
yoho-node-lib@=0.6.8:
version "0.6.8"
resolved "http://npm.yohops.com/yoho-node-lib/-/yoho-node-lib-0.6.8.tgz#299266f52b9a8cf86f3a439529a5e00b9e9592f2"
yoho-node-lib@=0.6.10:
version "0.6.10"
resolved "http://npm.yohops.com/yoho-node-lib/-/yoho-node-lib-0.6.10.tgz#2e697465e1bbe8197f55c68717a0ffd3b9308687"
dependencies:
dnscache "^1.0.1"
handlebars "^4.0.5"
... ... @@ -8687,7 +8681,6 @@ yoho-node-lib@=0.6.8:
uuid "^3.0.1"
walk "^2.3.9"
winston "^2.4.0"
winston-daily-rotate-file "^1.1.1"
xss-filters "^1.2.6"
yoho-qs@^1.0.1:
... ...