logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 01fb4776f8bc0e9e6ece7d1e5ea937ff02c1a938
parent 394cb1e0f51de5ded6837dd882f0633f9791c11b
Author: feld <feld@feld.me>
Date:   Fri, 28 Jun 2024 14:39:42 +0000

Merge branch 'gun-pool-logs' into 'develop'

Change Gun connection pool logs to debug

See merge request pleroma/pleroma!4165

Diffstat:

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

diff --git a/changelog.d/gun-logs-debug.skip b/changelog.d/gun-logs-debug.skip diff --git a/lib/pleroma/telemetry/logger.ex b/lib/pleroma/telemetry/logger.ex @@ -39,7 +39,7 @@ defmodule Pleroma.Telemetry.Logger do _, _ ) do - Logger.error(fn -> + Logger.debug(fn -> "Connection pool failed to reclaim any connections due to all of them being in use. It will have to drop requests for opening connections to new hosts" end) end @@ -70,7 +70,7 @@ defmodule Pleroma.Telemetry.Logger do %{key: key}, _ ) do - Logger.warning(fn -> + Logger.debug(fn -> "Pool worker for #{key}: Client #{inspect(client_pid)} died before releasing the connection with #{inspect(reason)}" end) end