Professional Documents
Culture Documents
Search Medium
Listen Share
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 1/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
In the realtime situation of -IT services from development phases to production the all-time
lifesaver would be the “logging mechanism” in place, to avoid stress in the development lifecycle
and chaos after moving our application or APIs onto production
These versions do not have big changes and are not material, So take an example in the apic V5,
It has an (if) and (switch) policies each of policy has a different implementation, In the apic V10
those policies are grouped into one policy.
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 2/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
If we understand the internals of the API Connect, when the request lands on the data power
gateway the request is parsed and stores required information of the API transaction from the
source IP address to target URL and all the required transformation data for the analytics
purpose of that context in context variables.
So if we can access these context variables from our logging policy hence we can log as per our
requirements. Fortunately, IBM has provided all those details in their product documentation
very clearly.
Have a glance at the official documentation “Context Variables” to have a better understanding of
available variables.
In API Connect we can make all the reusable logic into Policies, by this we can have the leverage
to drag and drop the required policy (in our case it's a common logging policy).
mohsenTalal/apic
IBM API Connect. Contribute to mohsenTalal/apic development by creating an
account on GitHub.
github.com
Follow
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 3/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
Abdulmohsen Alenazi
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 4/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
Abdulmohsen Alenazi
30
Abdulmohsen Alenazi
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 5/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
612 1
Abdulmohsen Alenazi
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 6/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
4.4K 31
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 7/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
You’re Using ChatGPT Wrong! Here’s How to Be Ahead of 99% of ChatGPT Users
Master ChatGPT by learning prompt engineering.
25K 456
Lists
Staff Picks
369 stories · 130 saves
Self-Improvement 101
20 stories · 208 saves
Productivity 101
20 stories · 226 saves
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 8/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
12 2
Kamen Zhekov
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 9/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
69 2
Christina Hastenrath
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 10/11
6/29/23, 11:49 AM Logging on IBM API Connect (V10). In the realtime situation of -IT… | by Abdulmohsen Alenazi | Medium
6.7K 67
https://mohsentalal.medium.com/logging-on-ibm-api-connect-v10-3fdbc31b395c 11/11