Level level = Level.toLevel(Level.DEBUG);Logger logger = LogManager.getLogger(“package”);logger.setLevel(level);
Level level = Level.toLevel(Level.DEBUG);
动态设置日志级别,布布扣,bubuko.com
动态设置日志级别
原文:http://www.cnblogs.com/shaohz2014/p/3863727.html