mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
feat: 增加启动日志
This commit is contained in:
parent
c5dfb894ca
commit
f7bd16076e
1
backend/init/cache/cache.go
vendored
1
backend/init/cache/cache.go
vendored
@ -51,4 +51,5 @@ func Init() {
|
||||
}
|
||||
|
||||
global.CACHE = badger_db.NewCacheDB(cache)
|
||||
global.LOG.Info("init cache successfully")
|
||||
}
|
||||
|
@ -28,4 +28,5 @@ func Init() {
|
||||
panic(err)
|
||||
}
|
||||
global.DB = db
|
||||
global.LOG.Info("init db successfully")
|
||||
}
|
||||
|
@ -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")
|
||||
}
|
||||
|
@ -7,4 +7,5 @@ import (
|
||||
|
||||
func Init() {
|
||||
global.SESSION = psession.NewPSession(global.CACHE)
|
||||
global.LOG.Info("init session successfully")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user