NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on February 20, 2019, 11:57:56 AM

Title: Avoid ouput to Debug View
Post by: Alberto on February 20, 2019, 11:57:56 AM
Runnning a very simple exe which gets a web page, Im seeing this in Debugview.
How to avoid this?
Title: Re: Avoid ouput to Debug View
Post by: DonRidley on February 20, 2019, 02:48:01 PM
Is NetTalk logging turned on?

Title: Re: Avoid ouput to Debug View
Post by: Alberto on February 20, 2019, 03:27:29 PM
Its turned off
Title: Re: Avoid ouput to Debug View
Post by: Bruce on February 20, 2019, 09:46:55 PM
Check project defines for
NetShowSend and NetShowReceive. If there set both to 0.

cheers
Bruce
Title: Re: Avoid ouput to Debug View
Post by: Bruce on February 20, 2019, 10:49:30 PM
in netwww.clw,
circa line 556
comment out...
  self._CommandURLst.trace('command len=' .....

Title: Re: Avoid ouput to Debug View
Post by: Alberto on February 21, 2019, 03:40:05 AM
Looking for NetShowxxxx Having or not theres no difference at all.
Ive Commented the trace line and the url is not traced, thats ok, but...
What ll happen in the next release?
and
why the other lines are still traced?
Thanks
Title: Re: Avoid ouput to Debug View
Post by: Bruce on February 22, 2019, 12:14:12 AM
Trace statements are usually removed before release, although sometimes some slip through.
If you are seeing any you need to send me a screen-shot so I can find them.

cheers
Bruce
Title: Re: Avoid ouput to Debug View
Post by: Alberto on February 22, 2019, 05:54:04 AM
May be, just an idea, a check in the templates to turn trace output on and off?

here it goes:

1   0.000000   4144   wsetpst.exe   [st] [netTalk][thread=1] self._CommandText.GetValue()=[
2   0.000000   4144   wsetpst.exe   Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
3   0.000000   4144   wsetpst.exe   Accept-Language: en
4   0.000000   4144   wsetpst.exe   Accept-Encoding: gzip
5   0.000000   4144   wsetpst.exe   User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729; .NET4.0C)
6   0.000000   4144   wsetpst.exe   Host: www.armisoftware.com
7   0.000000   4144   wsetpst.exe   Content-Length: 0
8   0.000000   4144   wsetpst.exe   Connection: Keep-Alive
9   0.000000   4144   wsetpst.exe   
10   0.000000   4144   wsetpst.exe   ]
11   0.868809   4144   wsetpst.exe   before close 0
12   0.913697   4144   wsetpst.exe   after close