如何使用log4j2将log4j 1.x中的 FixedWindowRollingPolicy 转换为xml配置。
log4j.appender.events_log = org.apache.log4j.rolling.RollingFileAppender log4j.appender.events_log.rollingPolicy = org.apache.log4j.rolling.FixedWindowRollingPolicy log4j.appender.events_log.rollingPolicy.maxIndex = 5