added more log_event() calls
added log_event() call