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

RE: http_debug append



Got it, thanks.  I need to log more of a transaction history - it's not so much errors (as would be in http_error) as what data was sent and returned, by whom, when, and in what sequence.   I just want to make it all a bit easier to trace and keep cleaned up.   After realizing I'd left the debug log enabled for months, I had a couple hundred thousand debug logs which were a lot of fun to delete, since `rm /tmp/debug*` would return a too many arguments type of error.

Again, nothing I can't work with or around.  I just didn't want to reinvent the wheel if there was already one in there.
--
Sean Porterfield


-----Original Message-----
From: Scott Klement
Sent: Wednesday, October 30, 2013 02:10

I meant http_error() to get an error message, sorry.

(http_dmsg is for adding your own messages to the debug file, so really doesn't make sense as a way to /retrieve/ a message, or for eliminating the debug log!)

On 10/29/2013 1:42 PM, Porterfield, Sean wrote:
> Did you mean http_dmsg() or is there http_msg() in a later version?
>
>
> HTTPAPI Ver 1.24beta11 released 2010-09-09
> --
> Sean Porterfield
>
> -----Original Message-----
> From: Scott Klement
> Sent: Friday, October 25, 2013 18:02
>
>> It was not intended to be used in production, however.   After you've
>> worked the bugs out of your program, I would expect you to simply use
>> http_msg() to get an error message.   (Maybe I'm wrong about that, but
>> was what I was thinking.)


________________________________

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
-----------------------------------------------------------------------