diff --git a/backend/src/app/loggers/database.clj b/backend/src/app/loggers/database.clj index 748fca12e3..e7efd84edd 100644 --- a/backend/src/app/loggers/database.clj +++ b/backend/src/app/loggers/database.clj @@ -50,7 +50,7 @@ (assoc :host (cf/get :host)) (assoc :public-uri (cf/get :public-uri)) (assoc :version (:full cf/version)) - (assoc :id (uuid/next)))) + (update :id #(or % (uuid/next))))) (defn handle-event [{:keys [executor] :as cfg} event] diff --git a/common/src/app/common/logging.cljc b/common/src/app/common/logging.cljc index f96c6cb041..09febd1d35 100644 --- a/common/src/app/common/logging.cljc +++ b/common/src/app/common/logging.cljc @@ -36,12 +36,12 @@ (reduce-kv #(.with ^MapMessage %1 (name %2) %3) message m)))) #?(:clj - (def logger-context - (LogManager/getContext false))) + (def logger-context + (LogManager/getContext false))) #?(:clj - (def logging-agent - (agent nil :error-mode :continue))) + (def logging-agent + (agent nil :error-mode :continue))) (defn- simple-prune ([s] (simple-prune s (* 1024 1024)))