added alert for logging