Browse Source

设置eureka输出日志级别

tags/正式3.2.0
雍文秀 2 years ago
parent
commit
1e8c91f648

+ 2
- 0
gateway/src/main/resources/application.properties View File

40
 spring.cloud.gateway.routes[4].filters[0]=RewritePath=/sapi/(?<segment>.*), /$\{segment}
40
 spring.cloud.gateway.routes[4].filters[0]=RewritePath=/sapi/(?<segment>.*), /$\{segment}
41
 
41
 
42
 eureka.client.service-url.defaultZone=http://localhost:8081/eureka/
42
 eureka.client.service-url.defaultZone=http://localhost:8081/eureka/
43
+#设置eureka输出日志级别
44
+logging.level.com.netflix=error

+ 2
- 0
register/src/main/resources/application.properties View File

5
 eureka.client.fetch-registry=false
5
 eureka.client.fetch-registry=false
6
 
6
 
7
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
7
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
8
+#设置eureka输出日志级别
9
+logging.level.com.netflix=error

+ 2
- 0
sapi/src/main/resources/application.properties View File

4
 spring.application.name=sapi
4
 spring.application.name=sapi
5
 #注册到我们本地的eureka注册中心,端口8081
5
 #注册到我们本地的eureka注册中心,端口8081
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
7
+#设置eureka输出日志级别
8
+logging.level.com.netflix=error
7
 
9
 
8
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
10
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
9
 spring.datasource.username=root
11
 spring.datasource.username=root

+ 2
- 0
sclass/src/main/resources/application.properties View File

4
 spring.application.name=sclass
4
 spring.application.name=sclass
5
 #注册到我们本地的eureka注册中心,端口8081
5
 #注册到我们本地的eureka注册中心,端口8081
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
7
+#设置eureka输出日志级别
8
+logging.level.com.netflix=error
7
 
9
 
8
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
10
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
9
 spring.datasource.username=root
11
 spring.datasource.username=root

+ 2
- 0
slive/src/main/resources/application.properties View File

4
 spring.application.name=slive
4
 spring.application.name=slive
5
 #注册到我们本地的eureka注册中心,端口8081
5
 #注册到我们本地的eureka注册中心,端口8081
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
7
+#设置eureka输出日志级别
8
+logging.level.com.netflix=error
7
 
9
 
8
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
10
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
9
 spring.datasource.username=root
11
 spring.datasource.username=root

+ 2
- 0
sstudy/src/main/resources/application.properties View File

4
 spring.application.name=sstudy
4
 spring.application.name=sstudy
5
 #注册到我们本地的eureka注册中心,端口8081
5
 #注册到我们本地的eureka注册中心,端口8081
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
6
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
7
+#设置eureka输出日志级别
8
+logging.level.com.netflix=error
7
 
9
 
8
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
10
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
9
 spring.datasource.username=root
11
 spring.datasource.username=root

+ 2
- 0
suser/src/main/resources/application.properties View File

3
 spring.application.name=suser
3
 spring.application.name=suser
4
 #注册到我们本地的eureka注册中心,端口8081
4
 #注册到我们本地的eureka注册中心,端口8081
5
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
5
 eureka.client.service-url.defaultZone=http://127.0.0.1:8081/eureka/
6
+#设置eureka输出日志级别
7
+logging.level.com.netflix=error
6
 
8
 
7
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
9
 spring.datasource.url=jdbc:mysql://dbtest.xhkjedu.com:13306/xhkjedu_school_test?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true
8
 spring.datasource.username=root
10
 spring.datasource.username=root

Loading…
Cancel
Save