Improve logging on worker and import process.

This commit is contained in:
Andrey Antukh 2022-01-17 18:41:02 +01:00 committed by Alonso Torres
parent 56dfdaecb7
commit 9cf5258053
4 changed files with 49 additions and 39 deletions

View file

@ -6,6 +6,7 @@
(ns app.worker
(:require
[app.common.logging :as log]
[app.common.spec :as us]
[app.common.transit :as t]
[app.worker.export]
@ -18,6 +19,10 @@
[cljs.spec.alpha :as s]
[promesa.core :as p]))
(log/initialize!)
(log/set-level! :root :warn)
(log/set-level! :app :info)
;; --- Messages Handling
(s/def ::cmd keyword?)