Hi Sam,
Just as a FYI, I believe the console.log is equivalent to a console.info, so you can at least eliminate the debug logging messages by using info instead of debug in your logging target.
> And there seems to be no way to turn on logging for only 1 API as opposed to all APIs
The best you can do is to create your own logging target and filter what logs are captured by that logging target by client IP. You could then test your API from that client IP which would minimize the amount logged.
Best Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------
Original Message:
Sent: Thu October 27, 2022 08:50 AM
From: Sam IBMer
Subject: API Connect Gatewayscript Console.log
I assume there is no way to view the normal console.log messages, if it set to 'warning'. And there seems to be no way to turn on logging for only 1 API as opposed to all APIs
------------------------------
Sam IBMer
Original Message:
Sent: Thu October 27, 2022 12:48 AM
From: kandula nagababu
Subject: API Connect Gatewayscript Console.log
Hi Samir,
You can able to see in DataPower API Connect specific domain default logs place, but before you open the default logs you can enabled the log level to "debug", then only you can able to see all logs. but you can enable this while development only because it impact Performance.
------------------------------
kandula nagababu
Original Message:
Sent: Wed October 26, 2022 11:19 PM
From: Samir DxC
Subject: API Connect Gatewayscript Console.log
Hello,
Sorry for the basic question: Where can I see the output for API Connect (2018) Gatewayscript "Console.log" statement? I don't see in the Data Power System Log nor do I see it in API Analytics 'All Events'
------------------------------
Samir DxC
------------------------------