NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: mjost on August 05, 2013, 04:53:09 AM

Title: NetTalk logging
Post by: mjost on August 05, 2013, 04:53:09 AM
Hello !

I'd like to log the outgoing traffic of NetTalk web server, I mean the complete html code that is sent to the web client. I couldn't find the functionality in templates. If it does not exist in which embed I could write my own code to do the logging?
I'm using NetTalk 5.44.
Thank you in advance for any help.

Best regards.
    Matjaz Jost
Title: Re: NetTalk logging
Post by: Bruce on August 05, 2013, 09:57:29 AM
Hi Matjaz,

As it happens it can do that for you.
In the Project Defines set
NetShowSend=>1
And run Debugview.exe

All the outgoing packets then appear in DebugView (which you can save if you like.)

If that's not good enough, then add your own embed code to the
WebServer procedure, Send method. The outgoing text there is in self.packet.bindata

cheers
Bruce