removed $$ from log_event call