[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

http_debug append



Is there currently a mechanism to append to the debug log instead of overwriting it every time?

I've been using multiple files to be able to get more detail, but that increases my maintenance and still has overwrite problems when I hit the same file name multiple times.

I was just about to try enabling debug once and leaving it on, but I realized that won't work in my program.  I have a <shudder> subfile of orders that are being processed, and I want one debug file for each order that is selected.  It's perfectly normal to go back and select the same order again or later for another action, so my current ideas don't leave me a good solution.

I'm calling something like:
BasicHttp_IWorkOrderService_setHttpDebug( *ON: '/tmp/myordernum.txt');

As I trace through, it seems to get back to http_debug( *ON:'/tmp/myordernum.txt'); which has
callp     unlink(HTTP_DEBUG_FILE)

I think that explains the current overwrite.

I could theoretically modify HTTPAPI to prevent that, but it's not exactly at the top of my list of things that would be good to do.

My environment:
OS 7.1 TR 5
WSDL2RPG Ver 1.13.2 released 2011-07-15
HTTPAPI Ver 1.24beta11 released 2010-09-09
--
Sean Porterfield


This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged.  If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited.  Thank you.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------