From c6dbf1fd948c47e3798b2d26ca6eb5b522ba7b8e Mon Sep 17 00:00:00 2001 From: Hoang Date: Wed, 24 Nov 2021 16:28:01 +0700 Subject: [PATCH] udpate logger init --- usermngmt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usermngmt.go b/usermngmt.go index a3c1d9a..5c70e5e 100644 --- a/usermngmt.go +++ b/usermngmt.go @@ -56,7 +56,7 @@ func Init(config Config) (*Service, error) { return nil, err } - logger.Init("usermngmt", "") + logger.Init(fmt.Sprintf("%s-usermngmt", config.TablePrefix), "") // Set database database.Set(db, config.TablePrefix)