add debug logging for onEvent in IndexUpdater