On Fri, Feb 08, 2002 at 11:51:18AM -0800, Patrick Calvert wrote:
> The debugmode and level almost work.  The log file
> (c:\winnt\system32\WinVNC.log not in the WinVNC directory like the
> docs say) is refreshed whenever the service is restarted (e.g.
> Reboot).  We need more longevity in the event we need to see who has
> been accessing/trying to get onto a system.  Any other Ideas?

The code to make it append to (rather than replace) the log file is
there, but it looks like you'll have to change a flag in the source code
and recompile in order to turn it on.

in stdhdrs.cpp:
  Log log(0, 1, "WinVNC.log", true);

Also, it looks like the old log file gets moved to .bak each time it is
overwritten, but that probably doesn't help you much because the .bak
file still gets blown away the next time.

-- 
Mike Ossmann, Tarantella/UNIX Engineer/Instructor
Alternative Technology, Inc.  http://www.alttech.com/
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to