mirror of
https://github.com/tinode/chat.git
synced 2025-03-14 10:05:07 +00:00
log db adapter vertion on start
This commit is contained in:
@ -413,7 +413,7 @@ func main() {
|
||||
}
|
||||
|
||||
err = store.Store.Open(workerId, config.Store)
|
||||
logs.Info.Println("DB adapter", store.Store.GetAdapterName())
|
||||
logs.Info.Println("DB adapter", store.Store.GetAdapterName(), store.Store.GetAdapterVersion())
|
||||
if err != nil {
|
||||
logs.Err.Fatal("Failed to connect to DB: ", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user