Permalink
Browse files

Change default prod-mode missing translation logging level

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...
1 parent 5e8fe2b commit fd5267f7c1440aecf49535e837b0472fa9a93fe0 @ptaoussanis committed Oct 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/taoensso/tower.clj
View
@@ -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))

0 comments on commit fd5267f

Please sign in to comment.