set agent debugging log level to info

This commit is contained in:
Graham McIntire 2026-01-27 13:39:37 -06:00
parent 3bb89670bd
commit d1cfbaa87c
No known key found for this signature in database

View file

@ -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(
[