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

news2024/11/15 23:55:12

在前面的文章基础上

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 优先。

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

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

双非本科准备秋招(19.2)—— 设计模式之保护式暂停

一、wait & notify wait能让线程进入waiting状态&#xff0c;这时候就需要比较一下和sleep的区别了。 sleep vs wait 1) sleep 是 Thread 方法&#xff0c;而 wait 是 Object 的方法 2) sleep 不需要强制和 synchronized 配合使用&#xff0c;但 wait 强制和 s…

分享一下 uniapp 打包安卓apk

首先需要安装 Java 环境&#xff0c;这里就不做解释了 第二步&#xff1a;打开 mac 终端 / cmd 命令行工具 使用keytool -genkey命令生成证书 keytool -genkey -alias testalias -keyalg RSA -keysize 2048 -validity 36500 -keystore test.keystore *testalias 是证书别名&am…

年货大数据(电商平台年货节数据):水果销售额增长72%,海鲜肉类涨幅高于蔬菜

春节临近&#xff0c;生鲜又成了线上线下“叫卖”狠&#xff0c;竞争大&#xff0c;盈利好的行业之一。无论是线下商超&#xff0c;还是线上电商&#xff0c;生鲜行业在年货节期间不愁没有市场需求。 根据鲸参谋数据显示&#xff0c;1月前三周京东平台生鲜市场整体销量超3300万…

C++初阶:容器(Containers)vector常用接口详解

介绍完了string类的相关内容后&#xff1a;C初阶&#xff1a;适合新手的手撕string类&#xff08;模拟实现string类&#xff09; 接下来进入新的篇章&#xff0c;容器vector介绍&#xff1a; 文章目录 1.vector的初步介绍2.vector的定义&#xff08;constructor&#xff09;3.v…

5G NR 信道号计算

一、5G NR的频段 增加带宽是增加容量和传输速率最直接的方法&#xff0c;目前5G最大带宽将会达到400MHz&#xff0c;考虑到目前频率占用情况&#xff0c;5G将不得不使用高频进行通信。 3GPP协议定义了从Sub6G(FR1)到毫米波(FR2)的5G目标频谱。 其中FR1是5G的核心频段&#xff0…

算法学习打卡day47|单调栈系列题目

单调栈题目思路 通常是一维数组&#xff0c;要寻找任一个元素的右边或者左边第一个比自己大或者小的元素的位置&#xff0c;此时我们就要想到可以用单调栈了。时间复杂度为O(n)。单调栈的本质是空间换时间&#xff0c;因为在遍历的过程中需要用一个栈来记录右边第一个比当前元…

大模型2024规模化场景涌现,加速云计算走出第二增长曲线

导读&#xff1a;2024&#xff0c;大模型第一批规模化应用场景已出现。 如果说“百模大战”是2023年国内AI产业的关键词&#xff0c;那么2024年我们将正式迈进“应用为王”的新阶段。 不少业内观点认为&#xff0c;2024年“百模大战”将逐渐收敛甚至洗牌&#xff0c;而大模型在…

DC-7靶机渗透详细流程

信息收集&#xff1a; 1.存活扫描&#xff1a; 由于靶机和kali都是nat的网卡&#xff0c;都在一个网段&#xff0c;我们用arp-scan会快一点&#xff1a; arp-scan arp-scan -I eth0 -l └─# arp-scan -I eth0 -l Interface: eth0, type: EN10MB, MAC: 00:0c:29:dd:ee:6…

如何应对Android面试官->实战高级UI,用自定义View画一条锦鲤(上)

前言 如何用自定义View画一条鱼&#xff0c;其中涉及到哪些知识点&#xff1f;我们先上效果图&#xff1a; 涉及的知识点&#xff1a; 整体可以分为三大步骤 小鱼的绘制小鱼的摆动点击之后小鱼的游动 小鱼的绘制 想实现小鱼的绘制&#xff0c;我们首先需要分解下这个小鱼都由…

re:从0开始的CSS学习之路 5. 颜色单位

0. 写在前面 没想到在CSS里也要再次了解这些颜色单位&#xff0c;感觉回到了大二的数字图像处理&#xff0c;可惜现在已经大四了&#xff0c;感觉并没有学会什么AI的东西 1. 颜色单位 预定义颜色名&#xff1a;HTML和CSS规定了147种颜色名。例如&#xff1a;red yellow green …

如何使用websocket

如何使用websocket 之前看到过一个面试题&#xff1a;吃饭点餐的小程序里&#xff0c;同一桌的用户点餐菜单如何做到的实时同步&#xff1f; 答案就是&#xff1a;使用websocket使数据变动时服务端实时推送消息给其他用户。 最近在我们自己的项目中我也遇到了类似问题&#xf…

Django模板(二)

标签if 标签在渲染过程中提供使用逻辑的方法,比如:if和for 标签被 {% 和 %} 包围,如下所示: 由于在模板中,没有办法通过代码缩进判断代码块,所以控制标签都需要有结束的标签 if判断标签{% if %} {% endif %} : # athlete_list 不为空 {% if athlete_list %}# 输出 ath…

Qt 常用算法及正则表达式

目录 常用算法 正则表达式 常用算法 double c qAbs(a)&#xff0c;函数 qAbs() 返回 double 型数值 a 的绝对值 double max qMax(b,c)&#xff0c;函数 qMax() 返回两个数值中的最大值 int bnqRound(b)&#xff0c;返回一个与浮点数最接近的整数值(四舍五入) int cn q…

PyTorch深度学习实战(23)——从零开始实现SSD目标检测

PyTorch深度学习实战&#xff08;23&#xff09;——从零开始实现SSD目标检测 0. 前言1. SSD 目标检测模型1.1 SSD 网络架构1.2 利用不同网络层执行边界框和类别预测1.3 不同网络层中默认框的尺寸和宽高比1.4 数据准备1.5 模型训练 2. 实现 SSD 目标检测2.1 SSD300 架构2.2 Mul…

【Git版本控制 02】分支管理

目录 一、创建分支 二、切换分支 三、合并分支 四、删除分支 五、合并冲突 六、分支策略 七、bug分支 一、创建分支 # 当前仓库只有 master 一个主分支 # 可通过 git branch 是进行分支管理的命令&#xff0c;可通过不同参数对分支进行查看、创建、删除(base) [rootloc…

FXTM富拓监管变更!2024开年连续3家交易商注销牌照

交易商的监管信息是经常发生变更的&#xff0c;即使第一次投资时查询平台监管牌照&#xff0c;投资者仍需持续关注其监管动态。千万不要以为第一步审核好后就万事大吉了&#xff01; 2024年开年&#xff0c;就有3家交易商的重要信息发生变更&#xff0c;注销其金融监管牌照&…

Canvas的js库:Konva.js-像操作DOM一样,操作canvas

hello&#xff0c;我是贝格前端工场&#xff0c;最近在学习canvas&#xff0c;分享一些canvas的一些知识点笔记&#xff0c;本期分享Konva.js这个canvas框架&#xff0c;欢迎老铁们一同学习&#xff0c;欢迎关注&#xff0c;如有前端项目可以私信贝格。 Konva.js是一个强大的HT…

零基础学Python之整合MySQL

Python 标准数据库接口为 Python DB-API&#xff0c;Python DB-API为开发人员提供了数据库应用编程接口。 不同的数据库你需要下载不同的DB API模块&#xff0c;例如你需要访问Oracle数据库和Mysql数据&#xff0c;你需要下载Oracle和MySQL数据库模块。 DB-API 是一个规范. 它…

Spring Boot3整合Redis

⛰️个人主页: 蒾酒 &#x1f525;系列专栏&#xff1a;《spring boot实战》 &#x1f30a;山高路远&#xff0c;行路漫漫&#xff0c;终有归途。 目录 前置条件 1.导依赖 2.配置连接信息以及连接池参数 3.配置序列化方式 4.编写测试 前置条件 已经初始化好一个spr…

【daily updating】k3s kubeedge + opendFaas搭建教程 —— 欢迎交流

OpenFaas从入门到实战 – 踩坑指南 &#xff5c; k3dOpenFaas | deploy your first python function https://blog.alexellis.io/first-faas-python-function/ https://docs.openfaas.com/deployment/kubernetes/ 搭建环境&#xff1a;第一种方法失败&#xff0c;第二种方法…