Authored by 周奇琪

update yoho-node-lib version to 0.2.12

@@ -72,7 +72,6 @@ app.use(global.yoho.hbs({ @@ -72,7 +72,6 @@ app.use(global.yoho.hbs({
72 helpers: _.assign(global.yoho.helpers, require('./utils/helpers')) 72 helpers: _.assign(global.yoho.helpers, require('./utils/helpers'))
73 })); 73 }));
74 74
75 -app.use(global.yoho.middleware());  
76 75
77 app.use(favicon(path.join(__dirname, '/favicon.ico'))); 76 app.use(favicon(path.join(__dirname, '/favicon.ico')));
78 app.use(bodyParser.json()); 77 app.use(bodyParser.json());
@@ -63,11 +63,6 @@ module.exports = { @@ -63,11 +63,6 @@ module.exports = {
63 handleExceptions: true, 63 handleExceptions: true,
64 maxFiles: 7 64 maxFiles: 7
65 }, 65 },
66 - udp: { // send by udp  
67 - measurement: 'yohobuy_wap_node_log',  
68 - level: 'error', // logger level  
69 - port: '4444' // influxdb port  
70 - },  
71 console: { 66 console: {
72 level: 'info', 67 level: 'info',
73 colorize: 'all', 68 colorize: 'all',
@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 "uuid": "^2.0.3", 49 "uuid": "^2.0.3",
50 "xml2js": "^0.4.17", 50 "xml2js": "^0.4.17",
51 "yoho-express-session": "^2.0.0", 51 "yoho-express-session": "^2.0.0",
52 - "yoho-node-lib": "^0.2.8", 52 + "yoho-node-lib": "^0.2.12",
53 "yoho-zookeeper": "^1.0.8" 53 "yoho-zookeeper": "^1.0.8"
54 }, 54 },
55 "devDependencies": { 55 "devDependencies": {