您的位置: 首页 > 技术问答 > springboot使用log4j2,日志级别debug,怎么关闭redis的debug日志 springboot使用log4j2,日志级别debug,怎么关闭redis的debug日志 分类: 技术问答 • 2022-02-24 09:13:49 问题描述: 如题springboot使用log4j2,日志级别debug,怎么关闭redis的debug日志,求解答 答 可以看看这篇: 关掉SpringBoot中的debug日志_up up!的博客-CSDN博客 在Resources目录下添加文件logback.xml,重启SpringBoot<?xml version="1.0" encoding="UTF-8"?><configuration> <include resource="org/springframework/boot/logging/logback/base.xml" /> <logger name="*" level="warn" /></configuration> https://blog.csdn.net/weixin_41891385/article/details/113275333