Skip to content

Commit dcd24ec

Browse files
authored
Add concrete logger example for application.yaml (#2614)
Currently we don't show any cds specific loggers in the `application.yaml` example. Users reading capire are expecting to find CAP specific information. Adding an example for some of the most used settings.
1 parent 41ecff7 commit dcd24ec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

java/operating-applications/observability.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ logging.level.my.loggers.order.Consolidation: INFO
9999

100100
# Turn off all loggers matching org.springframework.*:
101101
logging.level.org.springframework: OFF
102+
103+
# Turn on debug logging for sql statements and messaging:
104+
logging.level:
105+
com.sap.cds.persistence.sql: DEBUG
106+
com.sap.cds.messaging: DEBUG
102107
```
103108
:::
104109

0 commit comments

Comments
 (0)