common.js
770 Bytes
/**
* 系统配置
*
* @author hbomb qiqi.zhou@yoho.cn
* @date 2016/05/06
*/
module.exports = {
domains: {
api: 'http://192.168.102.202:8088/platform'
},
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
}
}
};