common.js 761 Bytes
/**
 * 系统配置
 *
 * @author hbomb qiqi.zhou@yoho.cn
 * @date 2016/05/06
 */

module.exports = {
    domains: {
        api: 'http://devapi.yoho.cn:58078'
    },
    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
        }
    }
};