Releases: taoensso/timbre
Releases · taoensso/timbre
v3.3.0 / 2014 May 8
- CHANGE: Update IRC appender to Timbre v3 style (@crisptrutski).
- FIX [#47]: correctly format nanosecond profiling times.
- FIX [#77]: profile ids now use correct (compile-time rather than runtime) ns prefix.
- NEW: Add zmq appender (@angusiguess).
- NEW [#75]: Make defnp support multi-arity functions (@maurolopes)
[com.taoensso/timbre "3.3.0"]
v3.2.1 / 2014 May 7
- FIX: missing tools.reader upstream dependency (@ducky427).
[com.taoensso/timbre "3.2.1"]
v3.2.0 / 2014 May 6
- [#60] FIX:
defnp
no longer generates an Eastwood warning (@ducky427). - CHANGE: Improved profiling memory efficiency (max memory use, was previously unbounded).
- CHANGE: Profiling: make larger call numbers easier to read.
- [#63]: NEW: Add support for thread-local configuration (@jameswarren).
Also check out Hugo Duncan's new log-config library which includes a number of utils to help manage your Timbre configuration.
[com.taoensso/timbre "3.2.0"]
v3.1.6 / 2014 Mar 16
v3.1.5 / 2014 Mar 15
- FIX:
profiling/p*
was defined incorrectly (@kyptin).
[com.taoensso/timbre "3.1.5"]
v3.1.4 / 2014 Mar 13
- NEW: Add
profiling/p*
macro. - CHANGE: Include
p
,p*
inrefer-timbre
imports. - FIX: rotor appender not rotating (iantruslove, kurtharriger).
[com.taoensso/timbre "3.1.4"]
v3.1.3 / 2014 Mar 11
- FIX: profiling id namespacing.
[com.taoensso/timbre "3.1.3"]
v3.1.1 / 2014 Feb 26
- FIX: project.clj to prevent unnecessary downstream deps.
[com.taoensso/timbre "3.1.1"]
v3.1.0 / 2014 Feb 23
v3.0.0 / 2014 Jan 30
Major update, non-breaking though users with custom appenders are encouraged to view the Changes section below. This version polishes up the codebase and general design. Tightened up a few aspects of how appenders and appender middleware work. Added a serializing Carmine appender (I use something similar in prod most of the time). Also finally added facilities for ad hoc (non-atom) logging configuration.
Overall quite happy with the state of Timbre as of this release. No major anticipated improvements/changes from here (modulo bugs).
New
- Android appender, courtesy of AdamClements.
- Rolling appender, courtesy of megayu.
- Powerful, high-performance Carmine (Redis) appender: query-able, rotating serialized log entries by log level. See README or appender's docstring for details. (Recommended!)
- Appender rate limits now specified in a more flexible format:
[ncalls window-msecs]
, e.g.[1 2000]
for 1 write / 2000 msecs. - Appender rate limits now also apply (at 1/4 ncalls) to any particular logging arguments in the same time window. This helps prevent a particular logging call from flooding the limiter and preventing other calls from getting through.
sometimes
macro that executes body with given probability. Useful for sampled logging (e.g. email a report for 0.01% of user logins in production).log
andlogf
macros now take an optional logging config map as their first argument:(log :info "hello") => use @timbre/config
,(log <config> :info "hello") => use <config>
.- Appenders can now specify an optional
:fmt-output-opts
that'll get passed tofmt-output-fn
for any special formatting requirements they may have (e.g. the Postal email appender provides an arg to suppress ANSI colors in stacktrace output).
Changes
- EXPERIMENTAL: stacktraces now formatted with
io.aviso/pretty
rather than clj-stacktrace. Feedback on this (esp. coloring) welcome! - DEPRECATED:
red
,green
,blue
-> usecolor-str
instead. - DEPRECATED: config
prefix-fn
has been replaced by the more flexiblefmt-output-fn
. Change is backwards compatible. - REMOVED: Per-appender
:prefix
option dropped - was unnecessary. If an appender wants custom output formatting, it can do so w/o using an in-config formatter. - Update
refer-timbre
(add profiling, logf variations, etc.). - DEPRECATED: atom logging level is now located in
level-atom
rather thanconfig
. Old in-config levels will be respected (i.e. change is backwards compatible). - DEPRECATED: appender rate limits are now specified as
:rate-limit [ncalls window-msecs]
rather than:limit-per-msecs ncalls
. Change is backwards compatible. - Built-in appenders have been simplified using the new
default-output
appender arg. - Postal appender now generates a more useful subject in most cases.
Fixes
- #38 Broken namespace filter (mlb-).
- Messages are now generated after middleware has been applied, allowing better filtering performance and more intuitive behaviour (e.g. changes to args in middleware will now automatically percolate to message content).
(logf <level> "hello %s")
was throwing due to lack of formatting args.
[com.taoensso/timbre "3.0.0"]