Skip to content

Commit

Permalink
Change default prod-mode missing translation logging level
Browse files Browse the repository at this point in the history
Changed from :error to :debug.

This is a more sensible default since the recent changes that allow
more graceful locale fallback; particularly when using the Ring
middleware.
  • Loading branch information
ptaoussanis committed Oct 26, 2012
1 parent 5e8fe2b commit fd5267f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taoensso/tower.clj
Expand Up @@ -46,7 +46,7 @@
(fn [{:keys [dev-mode? locale k-or-ks]}]
(if dev-mode?
(timbre/warn "Missing translation" k-or-ks "for" locale)
(timbre/error "Missing translation" k-or-ks "for" locale)))}))
(timbre/debug "Missing translation" k-or-ks "for" locale)))}))

(defn set-config! [[k & ks] val] (swap! config assoc-in (cons k ks) val))

Expand Down

0 comments on commit fd5267f

Please sign in to comment.