Commit Graph

483 Commits

Author SHA1 Message Date
Peter Taoussanis 06da070a24 Deps: pretty 0.1.8, lein-autoexpect 1.2.1 2014-01-02 15:38:04 +07:00
Peter Taoussanis 6218048a42 misc hk 2013-12-20 16:33:40 +07:00
Peter Taoussanis ef921d5662 hk: remove unnecessary check against `format` msg args 2013-12-19 17:16:42 +07:00
Peter Taoussanis e775711355 v3.0.0-RC3 (hotfix) 2013-12-17 15:46:01 +07:00
Peter Taoussanis b766013031 Fix namespace filtering (mlb-) 2013-12-17 15:45:09 +07:00
Peter Taoussanis ea0f43f03c Deps: Nippy 2.5.2 2013-12-07 16:08:09 +07:00
Peter Taoussanis 9fc1d0d8c1 Merge branches 'master' and 'dev' of github.com:ptaoussanis/timbre into dev 2013-12-06 12:37:24 +07:00
Peter Taoussanis 6e842e188d Merge pull request #45 from megayu/daily
Daily rolling file appender (megayu)
2013-12-05 21:37:02 -08:00
megayu 64937ffbc6 rename daily to rolling 2013-12-06 11:31:23 +08:00
megayu f330773bdd add daily rolling file appendar 2013-12-05 17:01:32 +08:00
Peter Taoussanis a0d305f6c2 Postal appender now uses UTF-8 charset by default 2013-12-04 14:41:39 +07:00
Peter Taoussanis 1e0766d732 Merge branch 'dev' 2013-12-04 13:22:25 +07:00
Peter Taoussanis 276f9932bf v3.0.0-RC2 2013-12-04 13:20:42 +07:00
Peter Taoussanis e0a9a08b6b Level checks hk, fix compile-time logging level (prepor) 2013-12-04 12:36:34 +07:00
Peter Taoussanis b21d5c3d6c hk 2013-12-04 12:36:34 +07:00
Peter Taoussanis 2c53586e65 Carmine appender: better handling when logging unfreezable args (needs Nippy v2.5.1+) 2013-12-04 12:36:18 +07:00
Peter Taoussanis 38d1c81dd1 Postal appender: allow control of email content-type, etc. 2013-12-04 12:36:18 +07:00
Peter Taoussanis 23d7b775c2 Carmine appender: fix entry hash fetching for empty level logs 2013-12-04 12:36:17 +07:00
Peter Taoussanis a547674bc2 Message formatting: don't call `format` unless formatting args are provided 2013-12-04 12:36:17 +07:00
Peter Taoussanis a7fbaf087a `make-timestamp-fn` is now public 2013-12-04 12:36:17 +07:00
Peter Taoussanis 40a3e58545 Pull default fmt-output-fn out of config (useful in custom reporting, etc.) 2013-12-02 16:12:24 +07:00
Peter Taoussanis 2a303ef2af Carmine appender: reconstitute :instant as Date rather than Long 2013-12-02 16:01:48 +07:00
Peter Taoussanis 8e5329e79f Add unified arg hashing (rate limiter, Carmine appender, etc.) 2013-12-01 22:33:40 +07:00
Peter Taoussanis 34394319c2 Merge branch 'dev' 2013-12-01 20:08:25 +07:00
Peter Taoussanis 8993e78e6d v3.0.0-RC1 2013-12-01 20:04:51 +07:00
Peter Taoussanis 136d3553ba Carmine appender: add configurable hash fn 2013-12-01 20:04:14 +07:00
Peter Taoussanis 05326dcfae misc hk 2013-12-01 20:03:37 +07:00
Peter Taoussanis 28e5490480 Fix: `(log nil)` should work as 'never log' 2013-12-01 20:03:37 +07:00
Peter Taoussanis 29113cc203 Update README 2013-12-01 20:03:37 +07:00
Peter Taoussanis 16d2345367 Add tools.logging dep for codox generation 2013-12-01 20:03:37 +07:00
Peter Taoussanis 3dc9d6522b `example-config` docstring hk 2013-12-01 20:03:37 +07:00
Peter Taoussanis d75a2db4dd Clean up postal appender, add new Carmine (Redis) appender 2013-12-01 20:03:37 +07:00
Peter Taoussanis 0a0bce8b69 Update project.clj 2013-12-01 20:03:37 +07:00
Peter Taoussanis 4e001ca77d Update CHANGELOG (+adopting `cider` style) 2013-12-01 20:03:37 +07:00
Peter Taoussanis 5f037c7fcd Update README 2013-12-01 20:03:36 +07:00
Peter Taoussanis f04aba6e0d Add new appender opt: `:appender-fmt-output-opts` 2013-12-01 20:03:36 +07:00
Peter Taoussanis f83b417cb0 Add `stacktrace` option to control aviso-ex fonts 2013-12-01 20:03:36 +07:00
Peter Taoussanis d8178eca16 nb - add explicit config support to `log`, `logf` macros 2013-12-01 20:03:36 +07:00
Peter Taoussanis 706f16b11c postal appender: use first 150 chars as subject 2013-12-01 20:03:36 +07:00
Peter Taoussanis 5ac604d66d Improve appender rate limiting: now specified as ncalls / window-msecs 2013-12-01 20:03:36 +07:00
Peter Taoussanis 39e568f4fc utils: add `rate-limit` fn 2013-12-01 20:03:36 +07:00
Peter Taoussanis 94a2d4d687 utils hk 2013-12-01 20:03:36 +07:00
Peter Taoussanis 413b2fd529 nb - major refactor (see commit msg for details)
CHANGES
 * DEPRECATED: `red`, `green`, `blue` -> use `color-str` instead.
 * Logging level is now located in `level-atom` rather than `config`.
   This is in prep for new config types. Old in-config levels will be
   respected (i.e. change is backwards compatible).
 * DEPRECATED: config `prefix-fn` has been replaced by the more flexible
   `fmt-output-fn`. Change is backwards compatible.
 * Built-in appenders have been simplified using the new `default-output`
   appender arg.
 * 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.

FIXES
 * 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).
2013-12-01 20:03:36 +07:00
Peter Taoussanis c094f299a5 stacktraces: `clj-stacktrace`->`io.aviso.exception` for stacktrace printing 2013-12-01 20:03:36 +07:00
Peter Taoussanis fb1cc1620b misc hk 2013-12-01 20:03:36 +07:00
Matthew Batema 370f47b53e Fix link typo 2013-12-01 20:03:36 +07:00
Peter Taoussanis f2e18925b2 hk: update `refer-timbre` (notably add profiling stuff) 2013-12-01 20:03:36 +07:00
Peter Taoussanis 383e52aac1 Fix: broken namespace filter (mlb-) 2013-12-01 20:03:35 +07:00
Peter Taoussanis dc0f7556c2 Deps: Clojure 1.6.0-alpha2 (for tests), lein-ancient 0.5.4 2013-12-01 20:03:35 +07:00
Peter Taoussanis 71712fff5f Housekeeping: ccb5b3e (Android appender) 2013-12-01 20:03:35 +07:00