From a324af8a0c1c8aa3db9805946b55781a37c2b8f2 Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Sun, 29 Jan 2023 08:53:24 +0200 Subject: [PATCH] Updated example config --- src/config/config.go.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/config.go.example b/src/config/config.go.example index ea01e4ee..15a4c719 100644 --- a/src/config/config.go.example +++ b/src/config/config.go.example @@ -3,7 +3,7 @@ package config import ( - "github.com/jackc/pgx/v5" + "github.com/jackc/pgx/v5/tracelog" "github.com/rs/zerolog" ) @@ -19,7 +19,7 @@ var Config = HMNConfig{ Hostname: "localhost", Port: 5432, DbName: "hmn", - LogLevel: pgx.LogLevelTrace, // LogLevelWarn is recommended for production + LogLevel: tracelog.LogLevelError, // LogLevelWarn is recommended for production MinConn: 2, // Keep these low for dev, high for production MaxConn: 10, },