feat(log): 优化日志输出 增加ip和hostname全名
This commit is contained in:
@@ -2,7 +2,7 @@ eureka:
|
||||
instance:
|
||||
hostname: localhost
|
||||
prefer-ip-address: true
|
||||
instance-id: ${spring.application.name}-${eureka.instance.hostname}-${random.uuid}-${datetime}
|
||||
instance-id: ${spring.application.name}-${eureka.instance.hostname}-${random.uuid}-${deploy.datetime}
|
||||
client:
|
||||
enabled: false
|
||||
service-url:
|
||||
|
||||
@@ -6,6 +6,6 @@ spring:
|
||||
discovery:
|
||||
enabled: ${spring.cloud.zookeeper.enabled}
|
||||
root: /hudi-services
|
||||
instance-id: ${spring.application.name}-${hostname}-${random.uuid}-${datetime:19700101}
|
||||
instance-id: ${spring.application.name}-${deploy.hostname}-${random.uuid}-${deploy.datetime:19700101}
|
||||
metadata:
|
||||
discovery: zookeeper
|
||||
Reference in New Issue
Block a user