mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-13 01:56:22 +08:00
feat: 增加启动日志
This commit is contained in:
parent
c5dfb894ca
commit
f7bd16076e
4 changed files with 4 additions and 1 deletions
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…
Add table
Reference in a new issue