Is there any way to stop SAP Cloud SDK from cluttering the log with warnings for undefined HTTPS_PROXY?
See original GitHub issue{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","msg":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","timestamp":"2021-10-07T15:47:29.487Z","written_at":"2021-10-07T15:47:29.487Z","written_ts":1633621649487}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"No Proxy settings for https are found in environment variables - no proxy used","msg":"No Proxy settings for https are found in environment variables - no proxy used","timestamp":"2021-10-07T15:47:29.488Z","written_at":"2021-10-07T15:47:29.488Z","written_ts":1633621649488}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","msg":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","timestamp":"2021-10-07T15:47:29.622Z","written_at":"2021-10-07T15:47:29.622Z","written_ts":1633621649622}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"No Proxy settings for https are found in environment variables - no proxy used","msg":"No Proxy settings for https are found in environment variables - no proxy used","timestamp":"2021-10-07T15:47:29.624Z","written_at":"2021-10-07T15:47:29.624Z","written_ts":1633621649624}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","msg":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","timestamp":"2021-10-07T15:47:29.644Z","written_at":"2021-10-07T15:47:29.644Z","written_ts":1633621649644}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"No Proxy settings for https are found in environment variables - no proxy used","msg":"No Proxy settings for https are found in environment variables - no proxy used","timestamp":"2021-10-07T15:47:29.645Z","written_at":"2021-10-07T15:47:29.645Z","written_ts":1633621649645}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","msg":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","timestamp":"2021-10-07T15:47:29.652Z","written_at":"2021-10-07T15:47:29.652Z","written_ts":1633621649652}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"No Proxy settings for https are found in environment variables - no proxy used","msg":"No Proxy settings for https are found in environment variables - no proxy used","timestamp":"2021-10-07T15:47:29.654Z","written_at":"2021-10-07T15:47:29.654Z","written_ts":1633621649654}
{"custom_fields":{"messageContext":"proxy-util","package":"core"},"level":"info","logger":"sap-cloud-sdk-logger","message":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","msg":"Try to fetch https_proxy or HTTPS_PROXY from the process env. Found value is undefined","timestamp":"2021-10-07T15:47:29.662Z","written_at":"2021-10-07T15:47:29.662Z","written_ts":1633621649662}
And many more… 😄
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
How to turn off excessive logging from CDS NodeJS app?
Hi,. We are running a CDS application in node.js with the destination and connectivity services. It is filling up the logs with messages ......
Read more >Can't call external service when using the OData v2 proxy on ...
I have a CAP project which calls an external service to start a workflow. When I add the odata v2 proxy so that...
Read more >Unable to login to cloud application studio(c4c SDK) version
If you connected thru WIFI, then un-check the "Use HTTP Proxy" checkbox under "Proxy Settings" under Connectivity. Now login it will resolve the ......
Read more >Step 12 with SAP Cloud SDK: Logging with SAP Cloud SDK
First, we will use AuditLogger to fulfil auditing requirements. Next, we will walk you through the steps required to log any other information ......
Read more >SAP BTP Connectivity
In this Guide. Hover over the elements for a description. Click an element for more information. • Connectivity in the Cloud Foundry Environment ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @piejanssens ,
I believe the cause might be that there are two versions of the
@sap-cloud-sdk/util
, thecanary
version you added explicitly and thelatest
version that is used by@sap/cds
or@sap-cloud-sdk/core
.We plan on releasing a new stable version soon and hopefully that should resolve the issue. I will update you once it is available to test.
Hi @deekshas8, I can confirm that the fix is working correctly. Thank you.