Page 1 of 1

http_debug

Posted: Fri Apr 28, 2023 12:31 pm
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

Re: http_debug

Posted: Tue May 02, 2023 1:32 am
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?

Re: http_debug

Posted: Tue May 02, 2023 2:44 pm
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