From 1d638c0c834b01f0c334f9b6cfb091f156588b5a Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 25 Jan 2026 08:39:35 -0600 Subject: [PATCH] cleanup: remove debug logging from agent creation The checkbox issue has been fixed, no longer need the debug output. --- lib/towerops_web/live/agent_live/index.ex | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/towerops_web/live/agent_live/index.ex b/lib/towerops_web/live/agent_live/index.ex index 1c88fe4b..9ddf9c17 100644 --- a/lib/towerops_web/live/agent_live/index.ex +++ b/lib/towerops_web/live/agent_live/index.ex @@ -61,12 +61,7 @@ defmodule ToweropsWeb.AgentLive.Index do @impl true def handle_event("create_agent", params, socket) do - require Logger - - Logger.debug("create_agent params: #{inspect(params)}") - {name, is_cloud_poller} = parse_agent_params(params) - Logger.debug("Parsed: name=#{name}, is_cloud_poller=#{is_cloud_poller}") with :ok <- validate_cloud_poller_permission(socket.assigns.current_scope.user, is_cloud_poller), {:ok, agent_token, token} <- create_agent(socket.assigns.current_organization, name, is_cloud_poller) do