diff --git a/backend/init/cache/cache.go b/backend/init/cache/cache.go index 7a68f663e..318fb3627 100644 --- a/backend/init/cache/cache.go +++ b/backend/init/cache/cache.go @@ -51,4 +51,5 @@ func Init() { } global.CACHE = badger_db.NewCacheDB(cache) + global.LOG.Info("init cache successfully") } diff --git a/backend/init/db/db.go b/backend/init/db/db.go index 90bf72a45..4344c1980 100644 --- a/backend/init/db/db.go +++ b/backend/init/db/db.go @@ -28,4 +28,5 @@ func Init() { panic(err) } global.DB = db + global.LOG.Info("init db successfully") } diff --git a/backend/init/migration/migrate.go b/backend/init/migration/migrate.go index 453e6b1d0..001ab56f6 100644 --- a/backend/init/migration/migrate.go +++ b/backend/init/migration/migrate.go @@ -25,5 +25,5 @@ func Init() { global.LOG.Error(err) panic(err) } - global.LOG.Info("Migration did run successfully") + global.LOG.Info("Migration run successfully") } diff --git a/backend/init/session/session.go b/backend/init/session/session.go index 9212b8f06..0eba926e9 100644 --- a/backend/init/session/session.go +++ b/backend/init/session/session.go @@ -7,4 +7,5 @@ import ( func Init() { global.SESSION = psession.NewPSession(global.CACHE) + global.LOG.Info("init session successfully") }