Skip to content

Commit faccd84

Browse files
Reorder the configuration for hashing Signed-off-by: Venkata Naga Sai Srikanth Gollapudi<42247688+GollapudiSrikanth@users.noreply.github.com>
Signed-off-by: Venkata Naga Sai Srikanth Gollapudi <42247688+GollapudiSrikanth@users.noreply.github.com>
1 parent c682cdb commit faccd84

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,16 @@
348348
"type": "java.util.Map<java.lang.String,java.lang.String>",
349349
"description": "Mapping between member paths and an alternative name that should be used in structured logging JSON"
350350
},
351+
{
352+
"name": "logging.structured.json.stacktrace.hash.field-name",
353+
"type": "java.lang.String",
354+
"description": "The name of the JSON field to use when the hash generate mode is 'as-field'. Defaults to 'stack_trace_hash' if not set."
355+
},
356+
{
357+
"name": "logging.structured.json.stacktrace.hash.generate",
358+
"type": "org.springframework.boot.logging.structured.StackTraceHashGenerate",
359+
"description": "How stack trace hashes should be generated. Use 'inline' to include the hash in the stack trace text or 'as-field' to emit the hash as a separate structured field."
360+
},
351361
{
352362
"name": "logging.structured.json.stacktrace.include-common-frames",
353363
"type": "java.lang.Boolean",
@@ -363,16 +373,6 @@
363373
"since": "3.6.0"
364374
}
365375
},
366-
{
367-
"name": "logging.structured.json.stacktrace.hash.generate",
368-
"type": "org.springframework.boot.logging.structured.StackTraceHashGenerate",
369-
"description": "How stack trace hashes should be generated. Use 'inline' to include the hash in the stack trace text or 'as-field' to emit the hash as a separate structured field."
370-
},
371-
{
372-
"name": "logging.structured.json.stacktrace.hash.field-name",
373-
"type": "java.lang.String",
374-
"description": "The name of the JSON field to use when the hash generate mode is 'as-field'. Defaults to 'stack_trace_hash' if not set."
375-
},
376376
{
377377
"name": "logging.structured.json.stacktrace.max-length",
378378
"type": "java.lang.Integer",

0 commit comments

Comments
 (0)