From 6516f509e97026abf69a46acd1774dfd71e81809 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 25 Jan 2026 09:10:47 -0600 Subject: [PATCH] cleanup: remove debug logging from agent creation (again) The user had manually added debug logging in commit 66fd6fa. Now that the cloud poller checkbox issue is fixed, removing the debug output. --- lib/towerops_web/live/agent_live/index.ex | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/towerops_web/live/agent_live/index.ex b/lib/towerops_web/live/agent_live/index.ex index e086d835..b949dec6 100644 --- a/lib/towerops_web/live/agent_live/index.ex +++ b/lib/towerops_web/live/agent_live/index.ex @@ -61,16 +61,10 @@ defmodule ToweropsWeb.AgentLive.Index do @impl true def handle_event("create_agent", params, socket) do - require Logger - - Logger.info("Agent creation params: #{inspect(params)}") - {name, is_cloud_poller} = parse_agent_params(params) - Logger.info("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 - Logger.info("Created agent_token - id: #{agent_token.id}, is_cloud_poller: #{agent_token.is_cloud_poller}") handle_agent_creation_success(socket, agent_token, token, is_cloud_poller) else {:error, :unauthorized} ->