Renamed do_it() to send_log_to_database().