Skip to content

Commit c123af5

Browse files
Merge pull request #214701 from jeanbisutti/log-marker
Add log markers
2 parents 578ce07 + 3da96db commit c123af5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

articles/azure-monitor/app/java-standalone-config.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,29 @@ These are the valid `level` values that you can specify in the `applicationinsig
416416
> | project timestamp, message, itemType
417417
> ```
418418
419+
### Log markers for Logback and Log4j 2 (preview)
420+
421+
Log markers are disabled by default.
422+
423+
You can enable the `Marker` property for Logback and Log4j 2:
424+
425+
```json
426+
{
427+
"preview": {
428+
"captureLogbackMarker": true
429+
}
430+
}
431+
```
432+
433+
```json
434+
{
435+
"preview": {
436+
"captureLog4jMarker": true
437+
}
438+
}
439+
```
440+
441+
This feature is in preview, starting from 3.4.2.
419442

420443
### Code properties for Logback (preview)
421444

0 commit comments

Comments
 (0)