logging for waiting