Added logging to InactivityMonitor