Commit 71cfee8c by 马玮

Update LOG_LEVEL

parent ca73ce60
......@@ -9,7 +9,7 @@ class DI {
}
static getLogger() {
const level = process.env.NODE_LOG_LEVEL || 'info';
const level = process.env.LOG_LEVEL || 'info';
log4js.configure({
appenders: {
console: { type: 'console' },
......
......@@ -261,8 +261,8 @@ class Autohome extends Base {
logger.debug(JSON.stringify(clue));
// TODO: just for debug, remove them later
logger.debug('线索类型:', clue.orderType);
logger.debug('线索状态:', clue.orderState);
// logger.debug('线索类型:', clue.orderType);
// logger.debug('线索状态:', clue.orderState);
logger.debug('===========================================================================');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment