Configuration Inserting log requests into the application code requires a fair amount of planning and effort. Observation shows that approximately 4 percent of code is dedicated to logging. Consequently, even moderately sized applications will have t
properties文件仍然有错误 log4j:WARN Failed to set property [filter] to value "org.apache.log4j.varia.LevelRangeFilter". log4j:ERROR Could not instantiate class [FATAL]. 后来我在国外论坛上找到了答案 The PropertyConfigurator does not handle the advanced configuration