on 10-07-2021 2:24 PM
There are 3 (!) different packages provided by SAP for logging in CF, yet CAP does not seem to use any of them:
The screenshot of the documentation on CAP + Kibana is showing remote_user to be empty. The logging packages above require different configuration parameters to be set in order to log the req.user.id. I tried by setting env LOG_REMOTE_USER=true like it's documented for cf-nodejs-logging-support and I also tried setting XS_LOG_USER=true like it's documented for @sap/logging, both have no effect.
Please add documentation on how this can be filled (based on req.user.id) using cds.log in CAP.
Hi piejanssens,
From our changelog:
cds.env.log.user = true
(beta)Best,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pieter,
Here comes now also the documentation.
Best regards,
Iwona
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.