http_debug

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
papavask
Posts: 6
Joined: Wed Mar 15, 2023 4:20 pm

http_debug

Post by papavask »

Hi, I am using the HTTPAPI to consume REST and SOAP services. For both APIs I am using the http_debug(*ON : '/API-Log.txt');
When using the call for logging (http_debug) with the library for REST api all calls are appended to the log file.
Unfortunately when using the call for logging (http_debug) with the library for SOAP api all calls are NOT appended to the log file, instead only the last call is recorded (looks that every new call overwrites the previous).

Are there any recommendations how can I setup SOAP api to append new logs?


Thanks in advance
Kostas
Scott Klement
Site Admin
Posts: 655
Joined: Sun Jul 04, 2021 5:12 am

Re: http_debug

Post by Scott Klement »

HTTPAPI always opens the http_debug log to append data to the file. It does not have an option to do otherwise...

As such, I'm not really sure what to tell you. Something must be happening that is deleting the file between calls or something similar?
papavask
Posts: 6
Joined: Wed Mar 15, 2023 4:20 pm

Re: http_debug

Post by papavask »

Thanks for your reply, I will look forward if there is a delete task prior to any new write to log.

Given the opportunity thank you for the great job you have done with the httpapi and all the other libraries you have publish.


Thanks
Kostas
Post Reply