add logging of create and destroy event; create log_data