common.js
814 Bytes
/**
* 系统配置
*
* @author hbomb qiqi.zhou@yoho.cn
* @date 2016/05/06
*/
module.exports = {
siteUrl: 'http://www.yohobuy.com',
domains: {
api: 'http://192.168.102.202:8088/platform',
service: 'http://testservice.yoho.cn:28077/'
},
loggers: {
file: {
level: 'info',
maxsize: 100 * 1024 * 1024,
handleExceptions: true,
zippedArchive: true,
timestamp: true,
filename: 'info.log'
},
udp: { // send by udp
level: 'debug', // logger level
host: '192.168.102.162', // influxdb host
port: '4444'// influxdb port
},
console: {
level: 'debug',
colorize: 'all',
prettyPrint: true
}
}
};