added log_msg API to actions