Debug file name

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
lburkett
Posts: 4
Joined: Tue Aug 10, 2021 4:18 am

Debug file name

Post by lburkett »

In some cases. I want to send debug information to a file specific to a program. http_debug(*on : myDebugFileName.txt) changes the value of HTTP_DEBUG_FILE. After this, any use of http_debug(*on) writes to this file.

Can the program be changed to reset the default file name back to its original value?
Scott Klement
Site Admin
Posts: 872
Joined: Sun Jul 04, 2021 5:12 am

Re: Debug file name

Post by Scott Klement »

How would HTTPAPI know when you are done, and therefore, that it should reset the filename? Can you explain why you'd want to do this? This is an unusual requirement.
Post Reply