Skip to content

Commit 54ffa4b

Browse files
committed
修改配置
1 parent 71af01e commit 54ffa4b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

polaris-guide-gateway/src/main/resources/bootstrap.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spring.cloud.discovery.metadata.group=polaris-group
77

88
# Nepxion discovery config
99
# 启动和关闭Debug日志打印,注意:每调用一次都会打印一次,会对性能有所影响,建议压测环境和生产环境关闭。缺失则默认为false
10-
spring.application.strategy.logger.debug.enabled=true
10+
# spring.application.strategy.logger.debug.enabled=true
1111

1212
# 开启Spring Boot 2.3.x优雅停机
1313
server.shutdown=graceful

polaris-guide-service-a/src/main/resources/bootstrap.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ spring.application.name=polaris-service-a
33

44
# Nepxion discovery config
55
# 灰度路由策略的时候,需要指定对业务RestController类的扫描路径。此项配置作用于RPC方式的调用拦截、消费端的服务隔离和调用链三项功能
6-
spring.application.strategy.scan.packages=com.nepxion.polaris.guide.service
6+
# spring.application.strategy.scan.packages=com.nepxion.polaris.guide.service
77
# 启动和关闭Debug日志打印,注意:每调用一次都会打印一次,会对性能有所影响,建议压测环境和生产环境关闭。缺失则默认为false
8-
spring.application.strategy.logger.debug.enabled=true
8+
# spring.application.strategy.logger.debug.enabled=true
99
# 启动和关闭Header传递的Debug日志打印,注意:每调用一次都会打印一次,会对性能有所影响,建议压测环境和生产环境关闭。缺失则默认为false
10-
spring.application.strategy.rest.intercept.debug.enabled=true
10+
# spring.application.strategy.rest.intercept.debug.enabled=true
1111

1212
# 启动和关闭Sentinel LimitApp限流等功能。缺失则默认为false
1313
spring.application.strategy.service.sentinel.limit.app.enabled=true

polaris-guide-zuul/src/main/resources/bootstrap.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spring.cloud.discovery.metadata.group=polaris-group
77

88
# Nepxion discovery config
99
# 启动和关闭Debug日志打印,注意:每调用一次都会打印一次,会对性能有所影响,建议压测环境和生产环境关闭。缺失则默认为false
10-
spring.application.strategy.logger.debug.enabled=true
10+
# spring.application.strategy.logger.debug.enabled=true
1111

1212
# 开启Spring Boot 2.3.x优雅停机
1313
server.shutdown=graceful

0 commit comments

Comments
 (0)