logback.xml
当在jvm里运行jar包程序时,可以使用参数-Dlogback.configurationFile=xxx/logback.xml 指定lobback.xml的位置。
当使用Intellij IDEA等idea运行源码时,logback.xml文件位于/src/main/resource文件夹下
slf4j配置与解析
最新推荐文章于 2025-05-08 08:00:00 发布
logback.xml
当在jvm里运行jar包程序时,可以使用参数-Dlogback.configurationFile=xxx/logback.xml 指定lobback.xml的位置。
当使用Intellij IDEA等idea运行源码时,logback.xml文件位于/src/main/resource文件夹下