"Starting up client project monitor" repeated log entries

I have a project running on version 7.9.9 that has many entries in the gateway’s diagnostic log for “Starting up client project monitor”. There are 4 of these entries that appear in 60 second intervals which seem to correspond to a client event timer script I’m running to check for inactivity to switch the logged in user (where there are 4 clients open). Is there any way to prevent these log entries? Below is the client event timer script that I’m using.

'''
Switch the Logged In User to the "user"
account after 60 minutes of inactivity
'''

timeoutSeconds = 3600
inactiveSeconds = system.util.getInactivitySeconds()

if inactiveSeconds >= timeoutSeconds:
	system.security.switchUser('user','pass')
else:
	pass

I would add an additional check to see if the default user is already the one logged in. Right now, you are re-logging in the default user if it has been idle for your timeout period. I’m guessing that’s not exactly what you were wanting.

4 Likes