Commit Graph

266 Commits

Author SHA1 Message Date
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
Adam Clements 1df74f9ab1 Android appender 2013-11-08 18:14:21 +00:00
Peter Taoussanis 2f51612c20 Utils: drop (deprecated) `frequencies` 2013-11-08 21:55:05 +07:00
Peter Taoussanis 1f15c046e0 Utils: update `memoize-ttl` 2013-11-08 21:54:12 +07:00
Peter Taoussanis 7cff8b7b96 Deps: lein-ancient 0.5.3 2013-11-08 21:52:39 +07:00
Peter Taoussanis a8ebec06d5 v2.7.1 2013-11-06 20:46:57 +07:00
Peter Taoussanis e48128c6d6 Profiling: housekeeping, fix `defnp` for multi-form bodies 2013-11-06 20:44:43 +07:00
Peter Taoussanis cf9c6eaf32 v2.7.0 2013-11-06 15:47:10 +07:00
Peter Taoussanis b0fef3d5ce core: don't run getHostName on the main thread (AdamClements) 2013-11-06 15:47:10 +07:00
Peter Taoussanis 1157a0e97c profiling: add `defnp` macro 2013-11-06 15:47:10 +07:00
Peter Taoussanis afd8a87b11 Merge pull request #34 from mopemope/rotor
Add Simple Rotating File Appender (mopemope)
2013-10-25 01:51:57 -07:00
mopemoepe 33fbbb9c98 Add Simple Rotating File Appender 2013-10-24 09:53:56 +09:00
Peter Taoussanis de9d1b001e Housekeeping 2013-10-22 13:29:23 +07:00
Peter Taoussanis a29879d1f9 Merge pull request #33 from aperiodic/profiling-fixes
Compile->runtime profiling keyword names (aperiodic)
2013-10-21 22:57:26 -07:00
aperiodic 411d16ed1f Fix profiling keyword construction.
Allow for dynamic keywords constructed from runtime data.

Prefix unqualified keywords with the namespace they are used in, rather
than 'taensso.timbre.profiling.
2013-10-21 15:59:20 -07:00
Peter Taoussanis 780276ab61 v2.6.3 2013-10-18 12:18:01 +07:00
Peter Taoussanis 28ee9e2a53 Merge pull request #32 from bitemyapp/patch-1
Fixes Null Pointer Exception in clj-stacktrace (bitemyapp)
2013-10-17 22:16:16 -07:00
Chris Allen 25f7371474 Fixes Null Pointer Exception in clj-stacktrace (can be triggered by using timbre/error) 2013-10-17 10:53:08 -07:00