springboot
佐看看
这个作者很懒,什么都没留下…
展开
-
Log4j2 yml配置
Log4j2 yml如何配置删除历史日志文件 百度了好多对于这块说的都说不是很清楚,所以试了好多次,最终可以删除历史的日志。 配置可以参考如下代码 Configuration: status: warn monitorinterval: 5 Properties: # 定义全局变量 Property: # 缺省配置(用于开发环境)。其他环境需要在VM参数中指定,如下: ...原创 2020-01-02 18:53:56 · 2387 阅读 · 0 评论 -
springboot中put请求获取不到参数解决
springboot对put请求获取不到参数解决方法? 配置一个过滤器 加入component注解,继承HttpPutFormContentFilter这个过滤器 即可解决。“` import org.springframework.stereotype.Component; import org.springframework.web.filter.HttpPutFormContentF转载 2018-01-02 09:44:30 · 3273 阅读 · 0 评论