on 06-30-2022 2:50 PM
Hi experts
I bound my CAP app to SAP Logging Service to see the logs and metrics on Kibana Dashboard, it seems it's working but I changed my package.json by adding this to link remote_user to req.user.id, but it seems it's now working, on CAP documentation capire - Minimalistic Logging Facade (cloud.sap) it says that by adding this should work, but it isn't
"cds": { "log": { "user": true },
I installed @sap/cds version 6.14
also I have configured this on package.json
"features": { "kibana_formatter": true }
Any idea?
Best regards,
Sara
Fixed by adding LOG_REMOTE_USER: true to environment variables
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.