Skip to content

Commit e2d3318

Browse files
committed
Add log markers
1 parent 9808bda commit e2d3318

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,27 @@ 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+
You can enable the `Marker` property for Logback and Log4j 2:
422+
423+
```json
424+
{
425+
"preview": {
426+
"captureLogbackMarker": true
427+
}
428+
}
429+
```
430+
431+
```json
432+
{
433+
"preview": {
434+
"captureLog4jMarker": true
435+
}
436+
}
437+
```
438+
439+
This feature is in preview, starting from 3.5.0.
419440

420441
### Code properties for Logback (preview)
421442

0 commit comments

Comments
 (0)