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

module.exports = {
    siteUrl: 'http://www.yohobuy.com',
    domains: {
        api: 'http://testapi.yoho.cn:28078/',
        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
        }
    }
};