Skip to Content
1
Jun 15, 2020 at 12:58 PM

SetLogLevel on SAP Cloud SDK logger

41 Views

Hi all.

I'm creating a NodeJS application on CF and I am noticing a lot of warning & info messages in the log.
One of the more frequent ones is:

While browsing through the API page of the @sap/cloud-sdk-util package I found the setLogLevel method which I thought would do exactly what I need/want. But after some fiddling around with it I can't get it to remove the warnings in the log.

My code looks like this:

I'm using version 1.17.2 of both the core and the util packages.

Anyone else that encountered this problem?

Kind regards,
Matthias

Attachments

jcd3v.png (266.7 kB)
pubzi.png (18.0 kB)