Skip to content

Commit e38e418

Browse files
committed
Add logging.structured.gelf.service.* properties to additional-spring-configuration-metadata.json
1 parent deab023 commit e38e418

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
{
243243
"name": "logging.structured.ecs.service.version",
244244
"type": "java.lang.String",
245-
"description": "Structured ECS service version."
245+
"description": "Structured ECS service version (defaults to 'spring.application.version')."
246246
},
247247
{
248248
"name": "logging.structured.format.console",
@@ -254,6 +254,26 @@
254254
"type": "java.lang.String",
255255
"description": "Structured logging format for output to a file. Must be either a format id or a fully qualified class name."
256256
},
257+
{
258+
"name": "logging.structured.gelf.service.environment",
259+
"type": "java.lang.String",
260+
"description": "Structured GELF service environment."
261+
},
262+
{
263+
"name": "logging.structured.gelf.service.name",
264+
"type": "java.lang.String",
265+
"description": "Structured GELF service name (defaults to 'spring.application.name')."
266+
},
267+
{
268+
"name": "logging.structured.gelf.service.node-name",
269+
"type": "java.lang.String",
270+
"description": "Structured GELF service node name."
271+
},
272+
{
273+
"name": "logging.structured.gelf.service.version",
274+
"type": "java.lang.String",
275+
"description": "Structured GELF service version (defaults to 'spring.application.version')."
276+
},
257277
{
258278
"name": "logging.threshold.console",
259279
"type": "java.lang.String",
@@ -628,6 +648,9 @@
628648
{
629649
"value": "ecs"
630650
},
651+
{
652+
"value": "gelf"
653+
},
631654
{
632655
"value": "logstash"
633656
}
@@ -647,6 +670,9 @@
647670
{
648671
"value": "ecs"
649672
},
673+
{
674+
"value": "gelf"
675+
},
650676
{
651677
"value": "logstash"
652678
}

0 commit comments

Comments
 (0)