mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
cms
This commit is contained in:
parent
d16ceac149
commit
8e063f6e59
@ -56,7 +56,7 @@ func initMysqlDB() {
|
|||||||
Writer{},
|
Writer{},
|
||||||
logger.Config{
|
logger.Config{
|
||||||
SlowThreshold: 200 * time.Millisecond, // Slow SQL threshold
|
SlowThreshold: 200 * time.Millisecond, // Slow SQL threshold
|
||||||
LogLevel: logger.Error, // Log level
|
LogLevel: logger.Info, // Log level
|
||||||
IgnoreRecordNotFoundError: true, // Ignore ErrRecordNotFound error for logger
|
IgnoreRecordNotFoundError: true, // Ignore ErrRecordNotFound error for logger
|
||||||
Colorful: true, // Disable color
|
Colorful: true, // Disable color
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user