Solved

REST API Logs

  • 28 September 2023
  • 3 replies
  • 174 views

Userlevel 7
Badge +16
  • Hero (Customer)
  • 547 replies

Community,

We have an interface using REST API. Wondering where to see the logs that REST API generated.

Thank you.

 

icon

Best answer by Charith Epitawatta 29 September 2023, 17:18

View original

3 replies

Userlevel 7
Badge +31

Hi @ronhu,

  • Are you referring to an Inbound REST API call or an Outbound REST API call to a third party system? 
  • If inbound, is it invoked directly through a projection or through IFS Connect? 
  • In addition, are you on IFSAPP10 or IFS Cloud?

If it is a direct invocation of an IFS projection, you need to check Odata logs. In IFSAPP10, it would be the integration server logs. In IFS Cloud, you can check ifsapp-odata pod logs. 

In other cases, you can check both Integration server logs and IFS Connect logs under instance\logs\j2ee folder in IFS Home. Both ifsapp-odata and ifsapp-connect pod logs, when it comes to IFS Cloud. 

Hope this helps!

Userlevel 7
Badge +16

@Charith Epitawatta Thank you for your reply.

We are on IFS APP10 UPD 9. I am referring to both logs, inbound and outbound.

For inbound, we are through a project directly. For Outbound, we are through IFS Connect.

Per your comments,

Inbound - Odata Logs, integration server logs.

Outbound - IFS Connect Logs in instance\logs\J2ee

Userlevel 7
Badge +31

Hi @ronhu

For inbound requests that directly invoke projections, you can check Integration server logs. However if you are using projections from “main” type instead of “int”, you may need to check Main Server log files. 

Eg:

For outbound requests, you can check both instance\logs\J2ee and Integration server logs.

Hope this is clear. 

 

Reply