       # only trigger if state change or only one state (ticks)
       if (state.last_state != rule_state) or (Enum.count(state.actions) == 1) do
         full_params = Map.merge( Map.merge(action.params, default_params), full_params )
-        Logger.info("Trigger action #{inspect rule_state} from rule #{rule.trigger.trigger} // #{rule.uuid}", rule: rule, params: full_params, action: action)
+        Logger.info(
+          "Trigger action #{inspect rule_state} from rule #{rule.trigger.trigger} // #{rule.uuid}",
+          rule_id: rule.uuid, service_id: rule.service, rule: rule, params: full_params, action: action
+          )
         Serverboards.Action.trigger(action.action, full_params, %{ email: "rule/#{rule.uuid}", perms: []})
       else
-        Logger.info("NOT triggering action #{inspect rule_state} from rule #{rule.trigger.trigger} // #{rule.uuid}. State did not change.", rule: rule, params: full_params, action: action)
+        Logger.info(
+          "NOT triggering action #{inspect rule_state} from rule #{rule.trigger.trigger} // #{rule.uuid}. State did not change.",
+          rule_id: rule.uuid, service_id: rule.service, rule: rule, params: full_params, action: action
+          )
       end
     else
-        Logger.info("Trigger empty action #{inspect rule_state} from rule #{rule.trigger.trigger} // #{rule.uuid}", rule: rule, params: [], action: action)
+        Logger.info(
+          "Trigger empty action #{inspect rule_state} from rule #{rule.trigger.trigger} // #{rule.uuid}",
+          rule_id: rule.uuid, service_id: rule.service, rule: rule, params: [], action: action
+          )
         {:ok, :empty}
     end
     state = %{ state | last_state: rule_state }


        {:ok, uuid, state}
      {:error, error} ->
        Logger.error("Error starting rule #{inspect trigger.id}: #{inspect error}", error: error, trigger: trigger)
        {:error, :aborted, {}}
    end


              {:error, :cant_start}
          end
        else
          Logger.info("Not starting shallow rule #{inspect rule.name}. ", service_id: rule.service, rule_id: rule.uuid)
          :ignore
        end
    end
  end

  def stop(uuid) do
    Logger.info("Stop rule // #{uuid}", rule_id: uuid)
    case Serverboards.ProcessRegistry.pop(Serverboards.Rules.Registry, uuid) do
      nil -> :ok
      pid ->
