我今天准备加入一个从零搭建一个SpringCloud Alibaba微服务架构,我引入了Nacos的服务注册与发现依赖:
<!-- Nacos 服务注册与发现 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
启动项目时控制台打印:
2023-11-25T15:25:00.703+08:00 INFO 18404 --- [ main] c.a.n.client.env.SearchableProperties : properties search order:PROPERTIES->JVM->ENV->DEFAULT_SETTING
2023-11-25T15:25:00.707+08:00 WARN 18404 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: org/slf4j/impl/StaticLoggerBinder
2023-11-25T15:25:00.972+08:00 WARN 18404 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: org/slf4j/impl/StaticLoggerBinder
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.0.0)
...........
我想请教一下Nacos默认加载的Logback 文件在哪里,如何解决这个问题?
我不知道在哪里去寻找这个问题的解答,我尝试了很多平台去寻找答案,但是都没有找到理想的答案,希望能在这里找到满意的答案!