📜  错误状态记录器 log4j2 找不到日志记录实现 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:08.706000             🧑  作者: Mango

代码示例1
System.setProperty("log4j.configurationFile","./path_to_the_log4j2_config_file/log4j2.xml");

Logger log = LogManager.getLogger(LogExample.class.getName());