remove crit and trace (#40320)

This commit is contained in:
ying-jeanne
2021-10-26 17:36:24 +02:00
committed by GitHub
parent 728a59f013
commit 681218275e
20 changed files with 58 additions and 42 deletions

View File

@@ -148,7 +148,7 @@ func (h *ContextHandler) initContextWithAnonymousUser(reqContext *models.ReqCont
org, err := h.SQLStore.GetOrgByName(h.Cfg.AnonymousOrgName)
if err != nil {
log.Errorf(3, "Anonymous access organization error: '%s': %s", h.Cfg.AnonymousOrgName, err)
log.Error("Anonymous access organization error.", "org_name", h.Cfg.AnonymousOrgName, "error", err)
return false
}