Commit Graph

575 Commits

Author SHA1 Message Date
Peter Taoussanis d8cb02e61f v4.7.4 2016-08-23 09:46:50 +07:00
Peter Taoussanis c9c525137b Bump deps 2016-08-23 09:46:50 +07:00
Peter Taoussanis 587b3e015f [#188] Hotfix: regression re: interleaving println 2016-08-23 09:46:50 +07:00
Peter Taoussanis 97df46c6b3 v4.7.3 (syncing deps) 2016-07-24 18:04:00 +07:00
robingl 757c6f6b1f [#185] Fix 3rd-party logstash appender deps issue (@robingl)
Gelfclient uses an older version of JacksonXML which prevents the
logstash appender from loading.
2016-07-23 13:14:13 +07:00
Peter Taoussanis 2822efe513 Cljs console appender: allow late .-log binding 2016-07-23 11:56:35 +07:00
Peter Taoussanis b1592fb002 v4.7.0 2016-07-19 11:51:04 +07:00
Peter Taoussanis bf619cbe6e [#183] Add support for appender-level middleware
Motivating use case: let users apply custom ns-filtering or other
conditional logic at an appender level *without* needing to actually
modify the appender fn.

This is just a natural generalization of the recently added support
for appender-level ns filters, etc.
2016-07-19 11:39:05 +07:00
Peter Taoussanis 7894ea3d19 Revert "[#181] Temp demonstration for @nvseenu"
This reverts commit d99fd909a3.
2016-07-12 21:12:11 +07:00
Peter Taoussanis d99fd909a3 [#181] Temp demonstration for @nvseenu 2016-07-12 21:10:46 +07:00
Peter Taoussanis 7bcfb1818e v4.6.0 2016-07-12 11:26:26 +07:00
Peter Taoussanis 7b5cc9e330 Bump deps 2016-07-11 16:31:26 +07:00
Peter Taoussanis 4f795eda60 Deprecate profiling ns, point to Tufte 2016-07-11 16:31:26 +07:00
Peter Taoussanis 01bbf48d6f Revert profiling to Timbre v4.4.0 state
Specifically:
  - Reverting some experimental new features (`profiled`), etc.
  - Restoring old multi-threaded (dynamic) profiling support

The new thread-local performance improvements have instead been
moved to Tufte: https://github.com/ptaoussanis/tufte
2016-07-11 16:31:26 +07:00
Peter Taoussanis d6f10795a6 Refactor elision utils 2016-07-11 16:31:26 +07:00
Peter Taoussanis 728dec01c7 Appender docs housekeeping 2016-07-07 16:58:28 +07:00
Peter Taoussanis f2f42ca39f [#179] Break hostname util into smaller components 2016-07-07 16:58:28 +07:00
Peter Taoussanis 6d3fc57dbb [#176] PR housekeeping 2016-07-05 10:35:11 +07:00
Camilo Polymeris 9cf8dec29c [#176] Add New Relic appender (@polymeris) 2016-07-05 10:35:11 +07:00
Peter Taoussanis 7ee42f71e7 [#177] PR housekeeping 2016-07-05 09:52:30 +07:00
Josh Tilles f9563cc10d [#177] Improvements to clojure.tools.logging integration (@MerelyAPseudonym) 2016-07-04 13:41:25 +07:00
Peter Taoussanis f399d250cb [#174] Smarter (faster) spit appender path creation 2016-07-01 16:44:31 +07:00
Peter Taoussanis ba6bc3f79c v4.5.1 2016-06-29 12:00:56 +07:00
Peter Taoussanis 64dc0f52aa Assist with https://github.com/fzakaria/slf4j-timbre/issues/20
Users have reported seeing `Wrong number of args (9) passed to: timbre/-log!`
errors via slf4j-timbre when upgrading from Timbre v4.4.0 -> v4.5.0.

slf4j-timbre already uses the correct public API (timbre/log!), so this looks
like an AOT issue: a compiled Timbre v4.4.0 `log!` macro expansion is calling
a `v4.5.0` `-log!` function and breaking.

Unfortunately, looks[1] like a user-level call to `lein clean` isn't enough to
resolve the issue. Might be that slf4j-timbre itself needs to be recompiled?

Whatever the underlying cause, this should be a reasonable workaround for now.

[1] : https://github.com/fzakaria/slf4j-timbre/issues/20#issuecomment-229254285
2016-06-29 12:00:52 +07:00
Peter Taoussanis 0a765cb9ca Fix missing SimpleDateFormat type hint 2016-06-29 11:55:16 +07:00
Peter Taoussanis b1a2e8c140 v4.5.0 2016-06-26 13:35:52 +07:00
Peter Taoussanis 49830fe798 Profiling: add experimental low-level `profiled` util 2016-06-23 18:45:49 +07:00
Peter Taoussanis 7b9d9b31c8 Profiling: final performance work (nb: don't squash)
Choosing not to squash into previous commit since we're introducing
a bunch of JVM-specific code here. If we do later decide to do a
.cljx port, will be handy to have the previous code around as a
platform agnostic option.
2016-06-23 18:42:08 +07:00
Peter Taoussanis d7b22c53c4 Profiling: NB refactor ns (incl. *signf.* perf bumps) 2016-06-23 18:41:58 +07:00
Peter Taoussanis fa1740e7fb Update 3rd-party appenders 2016-06-23 18:41:45 +07:00
Peter Taoussanis 682fa62334 Update core appenders
Note Carmine appender output change for `query-entries` util.
2016-06-23 18:41:45 +07:00
Peter Taoussanis e5b95cbd75 NB Refactor appenders API, implementation
Appender arg changes:
  - REMOVED: :data-output-fn, :hash-arg_
  - Deprecated: :?err_, :vargs_ (no point in delaying these now)
  - New: :?err, :vargs, :?msg-fmt, :hash_, :output_, :?meta

Implementation notes:
  - Have unified all vargs processing during margs phase
  - vargs no longer contains message format; now extracted as separate :?msg-fmt
  - :output-fn and :timezone_ are now cached between appenders when possible
  - :output_ now provides a convenient, cache-aware way of getting formatted ouput
  - Hash stuff is now non-configurable but far more predictable; if appenders
    have specific needs beyond :hash_, they should use a custom (fn [data]).
2016-06-23 18:40:00 +07:00
Peter Taoussanis 02c8fef812 [#172] Housekeeping 2016-06-17 00:46:20 +07:00
Carlos Cunha 81e779b630 [#172] Allow disabling ANSI colours with env var (@ccfontes) 2016-06-16 22:53:20 +07:00
Peter Taoussanis 606562cdcd v4.4.0 2016-06-10 11:50:00 +07:00
Peter Taoussanis ed88597356 [#171] Add support for appender-level ns filters 2016-06-10 11:43:53 +07:00
Peter Taoussanis 5a1a5253e2 Bump deps 2016-06-10 11:24:21 +07:00
Mike Sperber bd3d4b6707 [#168] Make rotor appender thread-safe (@mikesperber) 2016-05-10 15:56:14 +07:00
Peter Taoussanis 88bbff347b [#165] Hotfix: don't cache cljs console appender's `js/console` 2016-05-10 15:55:22 +07:00
David Frese 2adbabee8d [#166] Add 3rd-party logstash appender (@dfrese) 2016-04-28 12:59:38 +07:00
Peter Taoussanis b86eb0d0e6 [#163] Fix surprising `merge-config` nil behaviour 2016-04-16 11:20:42 +07:00
Peter Taoussanis 32d6892747 Bump deps 2016-04-16 11:20:42 +07:00
Peter Taoussanis 4cb1dcc0ed Update example appender 2016-04-16 11:20:41 +07:00
Peter Taoussanis 599bf5a28a Revert "Update Carmine appender for Nippy v2.12+ API changes"
This reverts commit a044ef2d5f.

Would rather provide back-compatibility Nippy side to prevent all
the dep conflicts that this'll lead to
2016-04-16 11:20:13 +07:00
Peter Taoussanis a044ef2d5f Update Carmine appender for Nippy v2.12+ API changes 2016-04-13 18:29:16 +07:00
Peter Taoussanis 73a50c4851 [#160] Rename ns 2016-03-31 11:24:15 +07:00
Peter Taoussanis 345a0d03f5 [#160] Housekeeping 2016-03-31 11:21:00 +07:00
yuliu-mdsol f984bc8e08 [#160] Add PostgreSQL appender (@yuliu-mdsol) 2016-03-31 10:51:01 +07:00
Peter Taoussanis 59895afcba [#159] Housekeeping 2016-03-29 01:23:18 +07:00
Simon Belak 495dd453ed [#159] Add Slack appender (@sbelak) 2016-03-29 01:18:04 +07:00