Event logging added