Disable excesive logging of some modules.

This commit is contained in:
Andrey Antukh 2021-06-02 11:27:22 +02:00
parent a6de4e3742
commit 9f034c7e7e
2 changed files with 4 additions and 4 deletions

View file

@ -140,10 +140,13 @@
(when-let [[reason batch] (a/<! input)]
(let [result (a/<! (update-sessions cfg batch))]
(mcnt :inc)
(if (ex/exception? result)
(cond
(ex/exception? result)
(l/error :task "updater"
:hint "unexpected error on update sessions"
:cause result)
(= :size reason)
(l/debug :task "updater"
:action "update sessions"
:reason (name reason)