public static void reconfigLog4j2(ApplicationContext context) {
        SpringPropUtil.environment = context.getEnvironment();
        Log4j2Helper.reconfigLog4j2(SpringPropPlugin.class);
    }
public static void reconfigLog4j2 ( ApplicationContext context ) { SpringPropUtil . environment = context . getEnvironment ( ) ; Log4j2Helper . reconfigLog4j2 ( SpringPropPlugin . class ) ; }
初始化log4j2日志配置，使用{@link Environment Environment}重新配置log4j2的properties
@param context spring应用上下文