From 8cd596f3a4c5a7f5ba8198a4056d780287ab8fa3 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 16 Jun 2025 12:46:32 -0500 Subject: [PATCH] less logging --- lib/aprs/db_test.ex | 2 -- lib/aprs/is/is.ex | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/aprs/db_test.ex b/lib/aprs/db_test.ex index a202745..1ebacc4 100644 --- a/lib/aprs/db_test.ex +++ b/lib/aprs/db_test.ex @@ -49,8 +49,6 @@ defmodule Aprs.DbTest do # Attempt to store the packet case Packets.store_packet(test_packet) do {:ok, stored_packet} -> - IO.puts("Successfully stored packet!") - IO.puts("Stored packet ID: #{stored_packet.id}") {:ok, stored_packet} {:error, changeset} -> diff --git a/lib/aprs/is/is.ex b/lib/aprs/is/is.ex index 3d7d346..c56d3e5 100644 --- a/lib/aprs/is/is.ex +++ b/lib/aprs/is/is.ex @@ -308,8 +308,7 @@ defmodule Aprs.Is do # Store in database through the Packets context case Aprs.Packets.store_packet(attrs) do - {:ok, packet} -> - Logger.info("Successfully stored packet from #{packet.sender}") + # {:ok, packet} -> {:error, changeset} -> Logger.error(