spring boot和spring cloud项目中配置文件application和bootstrap加载顺序

在前面的文章基础上

https://blog.csdn.net/zlpzlpzyd/article/details/136060312

日志配置

logback-spring.xml

<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="10000000 seconds" debug="false">

    <conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />

    <!-- 定义日志的根目录 -->

    <!-- 控制台输出 -->
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符-->
            <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} [%thread] %logger{50} %caller{1} - %msg%n</pattern>
        </encoder>
    </appender>

    <!--
		logger主要用于存放日志对象,也可以定义日志类型、级别
		name:表示匹配的logger类型前缀,也就是包的前半部分
		level:要记录的日志级别,包括 TRACE < DEBUG < INFO < WARN < ERROR
		additivity:作用在于children-logger是否使用 rootLogger配置的appender进行输出,
		false:表示只用当前logger的appender-ref,true:
		表示当前logger的appender-ref和rootLogger的appender-ref都有效
    -->

    <!-- logger Spring framework -->
    <!--<logger name="org.springframework" level="debug"></logger>-->
    <logger name="org.springframework.boot.context.config" level="trace"></logger>
    <logger name="feign" level="debug"></logger>
    <!--<logger name="com.netflix" level="debug"></logger>-->
    <!--<logger name="rx" level="debug"></logger>-->
    <logger name="com.alibaba" level="debug"></logger>

    <!--
    	root与logger是父子关系,没有特别定义则默认为root,任何一个类只会和一个logger对应,
   		要么是定义的logger,要么是root,判断的关键在于找到这个logger,然后判断这个logger的appender和level。
    -->
    <root level="INFO">
        <appender-ref ref="STDOUT"/>
    </root>
</configuration>

如果引用了 spring cloud 的组件且有 bootstrap 和 application 相关文件,启动日志如下

2024-02-07 09:26:45.355 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.properties' (file:./config/bootstrap.properties)
2024-02-07 09:26:45.356 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.xml' (file:./config/bootstrap.xml)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.yml' (file:./config/bootstrap.yml)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.yaml' (file:./config/bootstrap.yaml)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.properties' (file:./bootstrap.properties)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.xml' (file:./bootstrap.xml)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.yml' (file:./bootstrap.yml)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.yaml' (file:./bootstrap.yaml)
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.properties
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.xml
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.yml
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.yaml
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.properties
2024-02-07 09:26:45.357 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.xml
2024-02-07 09:26:45.358 DEBUG 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:222)
 - Loaded config file 'file:/E:/personal/feign-example/provider/target/classes/bootstrap.yml' (classpath:/bootstrap.yml)
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.yaml
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.properties' (file:./config/bootstrap-default.properties) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.properties' (file:./config/bootstrap-default.properties) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.properties' (file:./config/bootstrap.properties) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.xml' (file:./config/bootstrap-default.xml) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.xml' (file:./config/bootstrap-default.xml) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.xml' (file:./config/bootstrap.xml) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.yml' (file:./config/bootstrap-default.yml) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.yml' (file:./config/bootstrap-default.yml) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.yml' (file:./config/bootstrap.yml) for profile default
2024-02-07 09:26:45.358 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.yaml' (file:./config/bootstrap-default.yaml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap-default.yaml' (file:./config/bootstrap-default.yaml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.yaml' (file:./config/bootstrap.yaml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.properties' (file:./bootstrap-default.properties) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.properties' (file:./bootstrap-default.properties) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.properties' (file:./bootstrap.properties) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.xml' (file:./bootstrap-default.xml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.xml' (file:./bootstrap-default.xml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.xml' (file:./bootstrap.xml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.yml' (file:./bootstrap-default.yml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.yml' (file:./bootstrap-default.yml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.yml' (file:./bootstrap.yml) for profile default
2024-02-07 09:26:45.359 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.yaml' (file:./bootstrap-default.yaml) for profile default
2024-02-07 09:26:45.360 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap-default.yaml' (file:./bootstrap-default.yaml) for profile default
2024-02-07 09:26:45.360 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.yaml' (file:./bootstrap.yaml) for profile default
2024-02-07 09:26:45.360 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.properties for profile default
2024-02-07 09:26:45.360 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.properties for profile default
2024-02-07 09:26:45.360 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.properties for profile default
2024-02-07 09:26:45.360 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.xml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.xml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.xml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.yml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.yml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.yml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.yaml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap-default.yaml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.yaml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.properties for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.properties for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.properties for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.xml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.xml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.xml for profile default
2024-02-07 09:26:45.361 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.yml for profile default
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.yml for profile default
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.yaml for profile default
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap-default.yaml for profile default
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.yaml for profile default
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.properties' (file:./config/bootstrap.properties)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.xml' (file:./config/bootstrap.xml)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.yml' (file:./config/bootstrap.yml)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/bootstrap.yaml' (file:./config/bootstrap.yaml)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.properties' (file:./bootstrap.properties)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.xml' (file:./bootstrap.xml)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.yml' (file:./bootstrap.yml)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./bootstrap.yaml' (file:./bootstrap.yaml)
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.properties
2024-02-07 09:26:45.362 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.xml
2024-02-07 09:26:45.363 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.yml
2024-02-07 09:26:45.363 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/bootstrap.yaml
2024-02-07 09:26:45.363 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.properties
2024-02-07 09:26:45.363 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.xml
2024-02-07 09:26:45.363 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/bootstrap.yaml

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::       (v2.3.12.RELEASE)

2024-02-07 09:26:46.886  INFO 11872 [main] c.e.feign.provider.FeignExampleProviderApplication Caller+0	 at org.springframework.boot.SpringApplication.logStartupProfileInfo(SpringApplication.java:648)
 - No active profile set, falling back to default profiles: default
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.properties' (file:./config/application.properties)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.xml' (file:./config/application.xml)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.yml' (file:./config/application.yml)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.yaml' (file:./config/application.yaml)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.properties' (file:./application.properties)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.xml' (file:./application.xml)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.yml' (file:./application.yml)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.yaml' (file:./application.yaml)
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.properties
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.xml
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.yml
2024-02-07 09:26:46.893 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.yaml
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped unloaded config 'file:/E:/personal/feign-example/provider/target/classes/application.properties' (classpath:/application.properties)
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application.xml
2024-02-07 09:26:46.894 DEBUG 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:222)
 - Loaded config file 'file:/E:/personal/feign-example/provider/target/classes/application.yml' (classpath:/application.yml)
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application.yaml
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.properties' (file:./config/application-default.properties) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.properties' (file:./config/application-default.properties) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.properties' (file:./config/application.properties) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.xml' (file:./config/application-default.xml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.xml' (file:./config/application-default.xml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.xml' (file:./config/application.xml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.yml' (file:./config/application-default.yml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.yml' (file:./config/application-default.yml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.yml' (file:./config/application.yml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.yaml' (file:./config/application-default.yaml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application-default.yaml' (file:./config/application-default.yaml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.yaml' (file:./config/application.yaml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.properties' (file:./application-default.properties) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.properties' (file:./application-default.properties) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.properties' (file:./application.properties) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.xml' (file:./application-default.xml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.xml' (file:./application-default.xml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.xml' (file:./application.xml) for profile default
2024-02-07 09:26:46.894 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.yml' (file:./application-default.yml) for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.yml' (file:./application-default.yml) for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.yml' (file:./application.yml) for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.yaml' (file:./application-default.yaml) for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application-default.yaml' (file:./application-default.yaml) for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.yaml' (file:./application.yaml) for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.properties for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.properties for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.properties for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.xml for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.xml for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.xml for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.yml for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.yml for profile default
2024-02-07 09:26:46.895 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.yml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.yaml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application-default.yaml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.yaml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.properties for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.properties for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped unloaded config 'file:/E:/personal/feign-example/provider/target/classes/application.properties' (classpath:/application.properties) for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.xml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.xml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application.xml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.yml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.yml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.yaml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application-default.yaml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application.yaml for profile default
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.properties' (file:./config/application.properties)
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.xml' (file:./config/application.xml)
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.yml' (file:./config/application.yml)
2024-02-07 09:26:46.896 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./config/application.yaml' (file:./config/application.yaml)
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.properties' (file:./application.properties)
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.xml' (file:./application.xml)
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.yml' (file:./application.yml)
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config 'file:./application.yaml' (file:./application.yaml)
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.properties
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.xml
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.yml
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/config/application.yaml
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped unloaded config 'file:/E:/personal/feign-example/provider/target/classes/application.properties' (classpath:/application.properties)
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application.xml
2024-02-07 09:26:46.897 TRACE 11872 [main] o.s.b.context.config.ConfigFileApplicationListener Caller+0	 at org.springframework.boot.logging.DeferredLog.logTo(DeferredLog.java:219)
 - Skipped missing config classpath:/application.yaml

如果 bootstrap 相关文件存在,先加载,然后再加载 application 相关文件。对应引用了 spring cloud 组件。

如果 bootstrap 相关文件不存在,加载 application 相关文件。对应未引用 spring cloud 组件。

不过在启动过程中在扫描 classpath 下如果存在接口 ApplicationListener 的实现类,则会进行排序处理。

最终相关的配置内容加载到 AbstractApplicationContext 中的变量 environment 中进行全局配置处理。

如果同一个文件名有不同的后缀,但是配置值一致加载顺序如何?

ConfigFileApplicationListener 中逻辑如下

其中,变量值 propertySourceLoaders 通过 SpringFactoriesLoader 加载 classpath 下 META-INF/spring.factories 中 org.springframework.boot.env.PropertySourceLoader 对应的类

具体有 PropertiesPropertySourceLoader 和 YamlPropertySourceLoader。

PropertiesPropertySourceLoader 用于加载后缀为 .properties 的文件。

YamlPropertySourceLoader 用于加载后缀为 .yml 或者 .yaml 的文件。

如果对应的配置在后缀为 properties 和 yml 的文件中都存在,则 properties 优先。

ConfigFileApplicationListener 按顺序读取自动配置,在进行遍历时按序遍历,所以 properties 优先。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/377460.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

Leetcode 213 打家劫舍 II

题意理解&#xff1a; 你是一个专业的小偷&#xff0c;计划偷窃沿街的房屋&#xff0c;每间房内都藏有一定的现金。这个地方所有的房屋都 围成一圈 &#xff0c;这意味着第一个房屋和最后一个房屋是紧挨着的。同时&#xff0c;相邻的房屋装有相互连通的防盗系统&#xff0c;如果…

mysql 对于null字段排序处理

最近遇到一个需求 &#xff0c;需要对一个报表的多个字段进行多字段复杂条件排序 排序字段为NULL时 Mysql对于排序字段为NULL时&#xff0c;有自身默认的排序规则&#xff0c;默认是认为null 值 是无穷小 ELECT id,script_id,last_modified,live_count,next_show FROM virtua…

python-自动化篇-办公-一键将word中的表格提取到excel文件中

文章目录 代码 工作中&#xff0c;经常需要将Word文档中的表格粘贴到Excel文件中&#xff0c;以便汇总及分析。一个一个复制粘贴&#xff0c;非常不方便&#xff0c;还是Python自动化操作&#xff0c;省心省力。要求如下图所示&#xff0c;即将word中的所有表格&#xff0c;转存…

红队打靶练习:PHOTOGRAPHER: 1

目录 信息收集 1、arp 2、nmap 3、nikto 目录扫描 1、gobuster 2、dirsearch WEB 信息收集 enum4linux smbclient 8000端口 CMS利用 信息收集 文件上传漏洞利用 提权 信息收集 get user.txt get flag 信息收集 1、arp ┌──(root㉿ru)-[~/kali] └─# a…

【开源】JAVA+Vue.js实现开放实验室管理系统

目录 一、摘要1.1 项目介绍1.2 项目录屏 二、研究内容2.1 实验室类型模块2.2 实验室模块2.3 实验管理模块2.4 实验设备模块2.5 实验订单模块 三、系统设计3.1 用例设计3.2 数据库设计 四、系统展示五、样例代码5.1 查询实验室设备5.2 实验放号5.3 实验预定 六、免责说明 一、摘…

【快速上手QT】02-学会查看QT自带的手册QT助手

QT助手 为什么大家都说QT简单&#xff0c;第一点就是确实简单&#xff08;bushi&#xff09;。 我个人觉得最关键的点就是人家QT官方就给你准备好了文档&#xff0c;甚至还有专门的IDE——QtCreator&#xff0c;在QTCreator里面还有很多示例代码&#xff0c;只要你会C的语法以…

小白水平理解面试经典题目LeetCode 71. Simplify Path【Stack类】

71. 简化路径 小白渣翻译 给定一个字符串 path &#xff0c;它是 Unix 风格文件系统中文件或目录的绝对路径&#xff08;以斜杠 ‘/’ 开头&#xff09;&#xff0c;将其转换为简化的规范路径。 在 Unix 风格的文件系统中&#xff0c;句点 ‘.’ 指的是当前目录&#xff0c;…

WordPress如何自建txt文本经典语录并随机显示一句话经典语录?

前面跟大家分享的『WordPress集成一言&#xff08;Hitokoto&#xff09;API经典语句功能』一文中就提供有自创API&#xff0c;其中懿古今顶部左上角显示的经典语录用的就是自建一个txt文本文件&#xff0c;然后再在前端网页指定位置随机显示语录。具体操作方法如下&#xff1a;…

Oracle篇—logminer日志挖掘恢复误操作数据

☘️博主介绍☘️&#xff1a; ✨又是一天没白过&#xff0c;我是奈斯&#xff0c;DBA一名✨ ✌✌️擅长Oracle、MySQL、SQLserver、Linux&#xff0c;也在积极的扩展IT方向的其他知识面✌✌️ ❣️❣️❣️大佬们都喜欢静静的看文章&#xff0c;并且也会默默的点赞收藏加关注❣…

微软.NET6开发的C#特性——类、结构体和联合体

我是荔园微风&#xff0c;作为一名在IT界整整25年的老兵&#xff0c;看到不少初学者在学习编程语言的过程中如此的痛苦&#xff0c;我决定做点什么&#xff0c;下面我就重点讲讲微软.NET6开发人员需要知道的C#特性。 C#经历了多年发展&#xff0c; 进行了多次重大创新&#xf…

C# 委托(delegate)本质理解

目录 代码如下&#xff0c;很简单 运行的结果 反编译程序查看 关注两点&#xff1a; 什么是委托 委托的三个步骤 委托的意义 代码如下&#xff0c;很简单 namespace Delegate { class Program { delegate void SayHi(); void SayHi_1() …

FL Studio水果软件21的版本更新具体有哪些内容?

FL Studio 21相比之前的版本&#xff0c;包含多个新的更新和改进&#xff0c;具体内容如下&#xff1a; 用户界面&#xff1a;FL Studio 21采用了全新的FLAT UI设计风格&#xff0c;使得界面更加简洁美观。同时&#xff0c;用户现在可以根据自己的喜好更换界面风格。另外&…

CSS Transition:为网页元素增添优雅过渡效果

随着互联网的发展&#xff0c;网页的视觉效果和用户体验变得尤为重要。CSS Transition作为一种能够让网页元素在状态改变时呈现平滑过渡效果的工具&#xff0c;受到了广大前端开发者的青睐。本文将详细介绍CSS Transition的基本概念、使用方法以及常见应用&#xff0c;帮助读者…

问题:0xc8前面加(byte) #人工智能#学习方法的原因是因为0xc8大于??????????? 。 #微信#其他#微信

问题&#xff1a;0xc8前面加&#xff08;byte&#xff09;的原因是因为0xc8大于??????????? 。 参考答案如图所示

Arm发布新的人工智能Cortex-M处理器

Arm发布了一款新的Cortex-M处理器&#xff0c;旨在为资源受限的物联网&#xff08;IoT&#xff09;设备提供先进的人工智能功能。这款新的Cortex-M52声称是最小的、面积和成本效率最高的处理器&#xff0c;采用了Arm Helium技术&#xff0c;使开发者能够在单一工具链上使用简化…

编程实例分享,手表养护维修软件钟表维修开单管理系统教程

编程实例分享&#xff0c;手表养护维修软件钟表维修开单管理系统教程 一、前言 以下教程以 佳易王钟表维护维修管理系统软件V16.0为例说明 软件文件下载可以点击最下方官网卡片——软件下载——试用版软件下载 左侧为导航栏&#xff0c; 1、系统设置&#xff1a;可以设置打…

【Git版本控制 04】标签管理

目录 一、创建标签 二、查看标签 三、推送标签 四、删除标签 一、创建标签 标签tag&#xff0c;是对某次 commit 的⼀个标识&#xff0c;相当于起了⼀个别名。 相较于难以记住的 commit id &#xff0c; tag 很好的解决这个问题&#xff0c;因为 tag ⼀定要给⼀个让⼈容易…

如果把vue组件动态添加到body上?

tools.js: import Vue from vue/*** param Component 组件实例的选项对象* param props 组件实例中的prop*/ export function create(Component, props) {const comp new (Vue.extend(Component))({ propsData: props }).$mount()document.body.appendChild(comp.$el)comp.re…

flutter监听app进入前后台状态的实现

在开发app的过程中&#xff0c;我们经常需要根据app的前后台的状态&#xff0c;做一些事情&#xff0c;那么我们在flutter中是如何实现这一监听的&#xff1f; flutter给我们提供了WidgetsBindingObserver来进行一些状态的判断&#xff0c;但是判断前后台的状态只是该API种其中…

c++多态(3) -- 虚析构函数

代码: enum class _ANIMALS_TYPE {CAT,DOG,ANIMAL_COUNT };class Animal { public:Animal(_ANIMALS_TYPE type, int age,const char* name);~Animal();virtual void eat()const 0; private:_ANIMALS_TYPE type; // 动物类型int age; // 动物年龄char* na…