[COOK-2363] set template names properly

Use `run_template_name` and `log_template_name`.