Skip to content

How to support logback-spring.xml  #573

@l10178

Description

@l10178

Describe the bug

根据官方sofa-ark-spring-guides和spring-boot-ark-biz两个例子可复现此问题。

使用sofa-ark-spring-guides作为master biz以java -jar -Dsofa.ark.embed.enable=true方式启动,然后telnet install spring-boot-ark-biz,问题表现为spring-boot-ark-biz无日志输出。

实际上是因为我在spring-boot-ark-biz的resources目录下放了一个logback-spring.xml,如果去掉此文件只在application.properties里配置日志相关参数,或者把logback-spring.xml改为logback.xml,日志都能正常工作。

Environment

  • SOFAArk version: 2.0.4
  • JVM version : java 11

Metadata

Metadata

Assignees

Labels

documentquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions