From 2287ec75a7764fecf5b4b058581062efa1171107 Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Mon, 19 Feb 2024 18:06:40 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20FindLast?= =?UTF-8?q?Pos()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- postgres_gorm/postgres_gorm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres_gorm/postgres_gorm.go b/postgres_gorm/postgres_gorm.go index 5a534d7b..74c13ed1 100644 --- a/postgres_gorm/postgres_gorm.go +++ b/postgres_gorm/postgres_gorm.go @@ -109,7 +109,7 @@ func Connect_WithApplicationName_err(ApplicationName string) error { //Conn, err = gorm.Open(conn, conf) Conn.Config.NamingStrategy = schema.NamingStrategy{TablePrefix: Settings.DB_SCHEMA + "."} - Conn.Config.Logger = gormlogger.Default.LogMode(gormlogger.Warn) + Conn.Config.Logger = gormlogger.Default.LogMode(gormlogger.Error) if err == nil { DB, err := Conn.DB()