This commit is contained in:
nkorange 2018-11-08 16:28:36 +08:00
parent d6f4834688
commit 3c608ab2e5

View File

@ -42,7 +42,7 @@ public class LogUtils {
// logger init // logger init
LOG = LoggerFactory.getLogger("com.alibaba.nacos.client.naming"); LOG = LoggerFactory.getLogger("com.alibaba.nacos.client.naming");
LOG.setLevel(Level.DEBUG); LOG.setLevel(Level.INFO);
LOG.setAdditivity(false); LOG.setAdditivity(false);
LOG.activateAppenderWithSizeRolling("nacos", "naming.log", "UTF-8", JM_LOG_FILE_SIZE, JM_LOG_RETAIN_COUNT); LOG.activateAppenderWithSizeRolling("nacos", "naming.log", "UTF-8", JM_LOG_FILE_SIZE, JM_LOG_RETAIN_COUNT);
} }