mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-15 22:39:03 +08:00
cms
This commit is contained in:
@@ -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
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user