Developer forum

Forum » Integration » Add option to log order create requests and responses

Add option to log order create requests and responses

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I have a few busy sites that create a lot of carts and orders. If I turn on "Log all requests and responses" I get supper large log files with mostly irrelevant data (cart and price calculations). What I really want to see in the logs are the order creations in the ERP. (i.e. cart communication with CreateOrder=true.) This helps troubleshooting some order issues, as well as some duplicates we see from time to time.

Could that be added as an additional checkbox option "Log order creation request and response" in LI? So, when this new checkbox is checked, the request and response for an order when CreateOrder=true are always logged, even when logging of requests and responses is turned off.

Hope this makes sense.

Imar


Replies

 
Andrew Rushworth
Reply

Hey Imar,
 

if you go into global settings you should be able to filter by  "/Globalsettings/LSExtendedLoging"  and you can then activate for various endpoints:

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Andrew,

That sounds like it's for LS Retail only, right? I need it for general LI connections such as NAV or BC.

Thanks!

Imar

 
Andrew Rushworth
Reply

Ja, if they dont' have it then they should add something similar.

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Reviving this topic: would it be possible to add an extra logging option to live integration to log order creations in the ERP. (communication with CreateOrder=true.)? That way, we can control the log size, but still get important information logged.

Thanks!

Imar

 

You must be logged in to post in the forum