fix panic when push but the only log mode console is disabled by serv and update commands (#1007)
This commit is contained in:
@ -1096,6 +1096,10 @@ func NewXORMLogService(disableConsole bool) {
|
||||
}
|
||||
log.XORMLogger.SetLevel(lvl)
|
||||
}
|
||||
|
||||
if len(logConfigs) == 0 {
|
||||
log.DiscardXORMLogger()
|
||||
}
|
||||
}
|
||||
|
||||
func newCacheService() {
|
||||
|
Reference in New Issue
Block a user