logging for checking the unblocking of a semaphore