Error: Usersize 0 is written to log file after every 5 secs

Developers may discuss here.

Error: Usersize 0 is written to log file after every 5 secs

Postby kobruleht » 2014-02-16 20:02

Latest uvnc server is installed as service in windows vista (and other windowses).

after every 5 seconds 4 rows are writte to WinVNC.log file like

Code: Select all
Sun Feb 16 21:42:50 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
Sun Feb 16 21:42:55 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0


How to fix this ? Is it sufficient to comment out this line or is this something serious ?

Shoult I simply comment out those lines in source code or does this require more attention ?
kobruleht
8
8
 
Posts: 14
Joined: 2014-01-26 15:51

Re: Error: Usersize 0 is written to log file after every 5 s

Postby Rudi De Vos » 2014-02-17 12:09

This normal when no user is logged.
Like when the desktop is owned by system ( logon desktop)

We use the debug info for source debugging, if you want to use it as logging,
you better comment some unusefull info
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5414
Joined: 2004-04-23 10:21

Re: Error: Usersize 0 is written to log file after every 5 s

Postby kobruleht » 2014-02-17 12:26

Statement is:

vnclog.Print(LL_INTERR, VNCLOG("@@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0\n"));

This is outputted on any log level.
Can we change this so that it will outputted only on debug log level to prevent log file grow on production logging.
kobruleht
8
8
 
Posts: 14
Joined: 2014-01-26 15:51


Return to Developer discussions (mainly user-mode)

Who is online

Users browsing this forum: No registered users and 2 guests