After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

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

Developers may discuss here
Post Reply
kobruleht
8
8
Posts: 14
Joined: 2014-01-26 15:51

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

Post by kobruleht »

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 ?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6952
Joined: 2004-04-23 10:21
Contact:

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

Post by Rudi De Vos »

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
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
- uvnc2me: https://uvnc2me.com/
kobruleht
8
8
Posts: 14
Joined: 2014-01-26 15:51

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

Post by kobruleht »

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.
Post Reply