Add standardized property to distinguish a group of applications
This adds a property to provide some indicator that a set of applications are part of a larger "business application" so that they can be viewed in metrics, portals, traces and more. See gh-39957
This commit is contained in:
committed by
Moritz Halbritter
parent
edafc78375
commit
8ddb77f628
@@ -2,7 +2,7 @@
|
||||
<Configuration status="WARN" monitorInterval="30">
|
||||
<Properties>
|
||||
<Property name="PID">????</Property>
|
||||
<Property name="LOG_PATTERN">%clr{%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}}{faint} %clr{%5p} %clr{${sys:PID}}{magenta} %clr{---}{faint} %clr{${sys:LOGGED_APPLICATION_NAME:-}[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n%xwEx</Property>
|
||||
<Property name="LOG_PATTERN">%clr{%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}}{faint} %clr{%5p} %clr{${sys:PID}}{magenta} %clr{---}{faint} %clr{${sys:LOGGED_APPLICATION_NAME:-}[%15.15t]}{faint} %clr{---}{faint} %clr{${sys:LOGGED_APPLICATION_GROUP:-}[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n%xwEx</Property>
|
||||
</Properties>
|
||||
<Appenders>
|
||||
<Console name="Console" target="SYSTEM_OUT" follow="true">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
spring.application.name=sample
|
||||
spring.application.group=sample-group
|
||||
service.name=Phil
|
||||
|
||||
spring.security.user.name=user
|
||||
|
||||
Reference in New Issue
Block a user