Added extensive logging for diagnosing event issue