logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 9a4c8e2316b59e0c369486c3c2f758162af1b72e
parent 79d69ce72a4a922d1be8f3aae36d5fff3089fd1c
Author: Mark Felder <feld@feld.me>
Date:   Wed, 14 Feb 2024 13:28:32 -0500

Change some Gun connection pool logs to debug level

Diffstat:

Achangelog.d/gun-logs.skip0
Mlib/pleroma/telemetry/logger.ex4++--
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/changelog.d/gun-logs.skip b/changelog.d/gun-logs.skip diff --git a/lib/pleroma/telemetry/logger.ex b/lib/pleroma/telemetry/logger.ex @@ -59,7 +59,7 @@ defmodule Pleroma.Telemetry.Logger do _, _ ) do - Logger.error(fn -> + Logger.debug(fn -> "Connection pool had to refuse opening a connection to #{key} due to connection limit exhaustion" end) end @@ -81,7 +81,7 @@ defmodule Pleroma.Telemetry.Logger do %{key: key, protocol: :http}, _ ) do - Logger.info(fn -> + Logger.debug(fn -> "Pool worker for #{key}: #{length(clients)} clients are using an HTTP1 connection at the same time, head-of-line blocking might occur." end) end