common.js
769 Bytes
/**
* 系统配置
*
* @author hbomb qiqi.zhou@yoho.cn
* @date 2016/05/06
*/
module.exports = {
domains: {
api: 'http://192.168.102.205:8080/gateway'
},
loggers: {
infoFile: {
name: 'info',
level: 'info',
filename: 'info.log'
},
errorFile: {
name: 'error',
level: 'error',
filename: 'error.log',
handleExceptions: true
},
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
}
}
};