diff --git a/lib/towerops_web/channels/agent_channel.ex b/lib/towerops_web/channels/agent_channel.ex index 13c29e40..b8959e71 100644 --- a/lib/towerops_web/channels/agent_channel.ex +++ b/lib/towerops_web/channels/agent_channel.ex @@ -587,9 +587,10 @@ defmodule ToweropsWeb.AgentChannel do "#{Integer.to_string(a, 16)}:#{Integer.to_string(b, 16)}:#{Integer.to_string(c, 16)}:#{Integer.to_string(d, 16)}:#{Integer.to_string(e, 16)}:#{Integer.to_string(f, 16)}:#{Integer.to_string(g, 16)}:#{Integer.to_string(h, 16)}" # Debug logging helper - only logs when debug is enabled for this agent + # Uses :info level since production logger filters out :debug defp maybe_debug_log(socket, message, metadata) do if socket.assigns[:debug_enabled] do - Logger.debug( + Logger.info( message, Keyword.merge( [