WinVNC 4.1.1 logging

Scott C. Best sbest "at" best.com
Tue May 24 17:34:00 2005


 	Sorry, didn't help: I tried setting the log parameters
after the -register switch, and it behaves the same as when I
put it before the switch: it parses the data (ie, if I mispell
a log type it correctly throws an error), but no log file is
generated (and/or no stdout window is opened). Commands were:

C:\Program Files\RealVNC\VNC4> winvnc4 -stop
C:\Program Files\RealVNC\VNC4> winvnc4 -unregister
C:\Program Files\RealVNC\VNC4> winvnc4 -register Log=main:stdout:10 
C:\Program Files\RealVNC\VNC4> winvnc4 -start

 	As for why I'm not just adding options to the registry,
I must have misread your earlier post about this:

http://www.realvnc.com/pipermail/vnc-list/2005-April/050192.html

 	You seemed to imply there that setting DebugMode and
DebugLevel in the registry doesn't enable logging in the VNC4
series. Exactly what registry entries should I set to activate
logging in 4.1.1? Alternatively, can you provide the exact
command-line sequence that you use to generate log files?

thanks,
Scott

On Tue, 24 May 2005, James Weatherall wrote:

> Scott,
>
> As described in the usage information for winvnc4.exe, the syntax of the
> -register option is:
>
> winvnc4 -register <parameters>
>
> Is there some reason you want to do things via the command-line, rather than
> just setting the equivalent option in the registry?
>
> Regards,
>
> Wez @ RealVNC Ltd.
>
>
>> -----Original Message-----
>> From: Scott C. Best [mailto:sbest "at" best.com]
>> Sent: 24 May 2005 17:03
>> To: James Weatherall
>> Cc: vnc-list "at" realvnc.com
>> Subject: RE: WinVNC 4.1.1 logging
>>
>> Wez:
>>
>>  	Sorry, that didn't seem to help. I'm now trying:
>>
>> C:\Program Files\RealVNC\VNC4> winvnc4 -unregister
>> C:\Program Files\RealVNC\VNC4> winvnc4 Log=main:file:10 -register
>> C:\Program Files\RealVNC\VNC4> winvnc4 -start
>>
>>  	...and though the service starts, no WinVNC.log file is
>> generated. I also try:
>>
>> C:\Program Files\RealVNC\VNC4> winvnc4 -unregister
>> C:\Program Files\RealVNC\VNC4> winvnc4
>> Log=Connections:stdout:10 -register
>> C:\Program Files\RealVNC\VNC4> winvnc4
>> Log=Connections:stdout:10 -start
>>
>>  	...and there's no STDOUT window opened when the
>> service is started (like it used to in earlier versions).
>>
>>  	Any suggestions? Can you provide the exact command-line
>> sequence that you use to generate log files?
>>
>> thanks,
>> Scott
<snip>